home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 15.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 37 3a 31 30 20 31 | 39 39 38 0a 3b 3b 3b 20 |:47:10 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 70 | 72 69 6d 2f 73 75 62 72 |3/lisp/p|rim/subr|
|000000a0| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000b0| 72 73 69 6f 6e 20 32 30 | 2e 33 20 22 56 61 74 69 |rsion 20|.3 "Vati|
|000000c0| 63 61 6e 20 43 69 74 79 | 22 20 58 45 6d 61 63 73 |can City|" XEmacs|
|000000d0| 20 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 | Lucid.|.;;; byt|
|000000e0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000f0| 32 35 20 58 45 6d 61 63 | 73 3b 20 32 32 2d 4d 61 |25 XEmac|s; 22-Ma|
|00000100| 72 2d 39 36 2e 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 |r-96..;;|; optimi|
|00000110| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|00000120| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000130| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000140| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000150| 6d 61 63 73 20 31 39 2e | 0a 0a 28 69 66 20 28 61 |macs 19.|..(if (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000180| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000190| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|000001a0| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|000001b0| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|000001c0| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001d0| 20 22 32 30 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "20")))|. (er|
|000001e0| 72 6f 72 20 22 60 73 75 | 62 72 2e 65 6c 27 20 77 |ror "`su|br.el' w|
|000001f0| 61 73 20 63 6f 6d 70 69 | 6c 65 64 20 66 6f 72 20 |as compi|led for |
|00000200| 45 6d 61 63 73 20 32 30 | 22 29 29 0a 0a 28 6f 72 |Emacs 20|"))..(or|
|00000210| 20 28 62 6f 75 6e 64 70 | 20 27 63 75 72 72 65 6e | (boundp| 'curren|
|00000220| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 29 20 28 73 65 |t-load-l|ist) (se|
|00000230| 74 71 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |tq curre|nt-load-|
|00000240| 6c 69 73 74 20 6e 69 6c | 29 29 0a 0a 0a 23 40 31 |list nil|))...#@1|
|00000250| 32 33 20 44 65 66 69 6e | 65 20 61 20 66 75 6e 63 |23 Defin|e a func|
|00000260| 74 69 6f 6e 2c 20 6a 75 | 73 74 20 6c 69 6b 65 20 |tion, ju|st like |
|00000270| 60 64 65 66 75 6e 27 2c | 20 75 6e 6c 65 73 73 20 |`defun',| unless |
|00000280| 69 74 27 73 20 61 6c 72 | 65 61 64 79 20 64 65 66 |it's alr|eady def|
|00000290| 69 6e 65 64 2e 0a 55 73 | 65 64 20 66 6f 72 20 63 |ined..Us|ed for c|
|000002a0| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 20 61 6d 6f |ompatibi|lity amo|
|000002b0| 6e 67 20 64 69 66 66 65 | 72 65 6e 74 20 65 6d 61 |ng diffe|rent ema|
|000002c0| 63 73 20 76 61 72 69 61 | 6e 74 73 2e 1f 0a 28 64 |cs varia|nts...(d|
|000002d0| 65 66 61 6c 69 61 73 20 | 27 64 65 66 75 6e 2d 77 |efalias |'defun-w|
|000002e0| 68 65 6e 2d 76 6f 69 64 | 20 27 28 6d 61 63 72 6f |hen-void| '(macro|
|000002f0| 20 2e 20 23 5b 28 26 72 | 65 73 74 20 61 72 67 73 | . #[(&r|est args|
|00000300| 29 20 22 c0 c1 c2 0b 40 | 44 44 c4 c5 0b 42 46 87 |) "....@|DD...BF.|
|00000310| 22 20 5b 69 66 20 66 62 | 6f 75 6e 64 70 20 71 75 |" [if fb|oundp qu|
|00000320| 6f 74 65 20 61 72 67 73 | 20 6e 69 6c 20 64 65 66 |ote args| nil def|
|00000330| 75 6e 5d 20 35 20 28 23 | 24 20 2e 20 35 39 35 29 |un] 5 (#|$ . 595)|
|00000340| 5d 29 29 0a 23 40 31 33 | 33 20 44 65 66 69 6e 65 |])).#@13|3 Define|
|00000350| 20 61 20 66 75 6e 63 74 | 69 6f 6e 2c 20 6a 75 73 | a funct|ion, jus|
|00000360| 74 20 6c 69 6b 65 20 60 | 64 65 66 69 6e 65 2d 66 |t like `|define-f|
|00000370| 75 6e 63 74 69 6f 6e 27 | 2c 20 75 6e 6c 65 73 73 |unction'|, unless|
|00000380| 20 69 74 27 73 20 61 6c | 72 65 61 64 79 20 64 65 | it's al|ready de|
|00000390| 66 69 6e 65 64 2e 0a 55 | 73 65 64 20 66 6f 72 20 |fined..U|sed for |
|000003a0| 63 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 61 6d |compatib|ility am|
|000003b0| 6f 6e 67 20 64 69 66 66 | 65 72 65 6e 74 20 65 6d |ong diff|erent em|
|000003c0| 61 63 73 20 76 61 72 69 | 61 6e 74 73 2e 1f 0a 28 |acs vari|ants...(|
|000003d0| 64 65 66 61 6c 69 61 73 | 20 27 64 65 66 69 6e 65 |defalias| 'define|
|000003e0| 2d 66 75 6e 63 74 69 6f | 6e 2d 77 68 65 6e 2d 76 |-functio|n-when-v|
|000003f0| 6f 69 64 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |oid '(ma|cro . #[|
|00000400| 28 26 72 65 73 74 20 61 | 72 67 73 29 20 22 c0 c1 |(&rest a|rgs) "..|
|00000410| 5c 6e 40 44 c3 c4 5c 6e | 42 46 87 22 20 5b 69 66 |\n@D..\n|BF." [if|
|00000420| 20 66 62 6f 75 6e 64 70 | 20 61 72 67 73 20 6e 69 | fboundp| args ni|
|00000430| 6c 20 64 65 66 69 6e 65 | 2d 66 75 6e 63 74 69 6f |l define|-functio|
|00000440| 6e 5d 20 35 20 28 23 24 | 20 2e 20 38 34 32 29 5d |n] 5 (#$| . 842)]|
|00000450| 29 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |)).(byte|-code ".|
|00000460| c1 c2 21 c3 5c 22 14 c4 | 0d 42 15 c0 87 22 20 5b |..!.\"..|.B..." [|
|00000470| 6c 6f 67 69 6f 72 20 72 | 65 61 64 20 22 3f 5c 5c |logior r|ead "?\\|
|00000480| 4d 2d 5c 5c 5e 40 22 20 | 31 32 38 20 6c 69 73 74 |M-\\^@" |128 list|
|00000490| 69 66 79 2d 6b 65 79 2d | 73 65 71 75 65 6e 63 65 |ify-key-|sequence|
|000004a0| 2d 31 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |-1 curre|nt-load-|
|000004b0| 6c 69 73 74 5d 20 33 29 | 0a 23 40 34 35 20 43 6f |list] 3)|.#@45 Co|
|000004c0| 6e 76 65 72 74 20 61 20 | 6b 65 79 20 73 65 71 75 |nvert a |key sequ|
|000004d0| 65 6e 63 65 20 74 6f 20 | 61 20 6c 69 73 74 20 6f |ence to |a list o|
|000004e0| 66 20 65 76 65 6e 74 73 | 2e 1f 0a 28 64 65 66 61 |f events|...(defa|
|000004f0| 6c 69 61 73 20 27 6c 69 | 73 74 69 66 79 2d 6b 65 |lias 'li|stify-ke|
|00000500| 79 2d 73 65 71 75 65 6e | 63 65 20 23 5b 28 6b 65 |y-sequen|ce #[(ke|
|00000510| 79 29 20 22 c0 09 21 ab | 85 c2 09 c3 5c 22 87 c4 |y) "..!.|....\"..|
|00000520| c5 c2 09 c3 5c 22 5c 22 | 87 22 20 5b 76 65 63 74 |....\"\"|." [vect|
|00000530| 6f 72 70 20 6b 65 79 20 | 61 70 70 65 6e 64 20 6e |orp key |append n|
|00000540| 69 6c 20 6d 61 70 63 61 | 72 20 23 5b 28 63 29 20 |il mapca|r #[(c) |
|00000550| 22 08 c1 56 ab 85 c2 08 | 0b 5c 22 87 08 87 22 20 |"..V....|.\"..." |
|00000560| 5b 63 20 31 32 37 20 6c | 6f 67 78 6f 72 20 6c 69 |[c 127 l|ogxor li|
|00000570| 73 74 69 66 79 2d 6b 65 | 79 2d 73 65 71 75 65 6e |stify-ke|y-sequen|
|00000580| 63 65 2d 31 5d 20 33 5d | 5d 20 35 20 28 23 24 20 |ce-1] 3]|] 5 (#$ |
|00000590| 2e 20 31 32 31 34 29 5d | 29 0a 28 62 79 74 65 2d |. 1214)]|).(byte-|
|000005a0| 63 6f 64 65 20 22 c0 c1 | c2 5c 22 88 c3 c4 21 ac |code "..|.\"...!.|
|000005b0| 85 c0 c4 c5 5c 22 88 c0 | 87 22 20 5b 64 65 66 69 |....\"..|." [defi|
|000005c0| 6e 65 2d 66 75 6e 63 74 | 69 6f 6e 20 6e 6f 74 20 |ne-funct|ion not |
|000005d0| 6e 75 6c 6c 20 66 62 6f | 75 6e 64 70 20 6e 75 6d |null fbo|undp num|
|000005e0| 62 65 72 70 20 69 6e 74 | 65 67 65 72 70 5d 20 33 |berp int|egerp] 3|
|000005f0| 29 0a 23 40 32 31 31 20 | 52 65 74 75 72 6e 20 74 |).#@211 |Return t|
|00000600| 20 69 66 20 53 59 4d 20 | 77 6f 75 6c 64 20 62 65 | if SYM |would be|
|00000610| 20 6c 6f 63 61 6c 20 74 | 6f 20 42 55 46 46 45 52 | local t|o BUFFER|
|00000620| 20 61 66 74 65 72 20 69 | 74 20 69 73 20 73 65 74 | after i|t is set|
|00000630| 2e 0a 41 20 6e 69 6c 20 | 76 61 6c 75 65 20 66 6f |..A nil |value fo|
|00000640| 72 20 42 55 46 46 45 52 | 20 69 73 20 2a 6e 6f 74 |r BUFFER| is *not|
|00000650| 2a 20 74 68 65 20 73 61 | 6d 65 20 61 73 20 28 63 |* the sa|me as (c|
|00000660| 75 72 72 65 6e 74 2d 62 | 75 66 66 65 72 29 2c 20 |urrent-b|uffer), |
|00000670| 62 75 74 0a 63 61 6e 20 | 62 65 20 75 73 65 64 20 |but.can |be used |
|00000680| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 65 |to deter|mine whe|
|00000690| 74 68 65 72 20 60 6d 61 | 6b 65 2d 76 61 72 69 61 |ther `ma|ke-varia|
|000006a0| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|000006b0| 27 20 68 61 73 20 62 65 | 65 6e 0a 63 61 6c 6c 65 |' has be|en.calle|
|000006c0| 64 20 6f 6e 20 53 59 4d | 2e 1f 0a 28 64 65 66 61 |d on SYM|...(defa|
|000006d0| 6c 69 61 73 20 27 6c 6f | 63 61 6c 2d 76 61 72 69 |lias 'lo|cal-vari|
|000006e0| 61 62 6c 65 2d 69 66 2d | 73 65 74 2d 70 20 23 5b |able-if-|set-p #[|
|000006f0| 28 73 79 6d 20 62 75 66 | 66 65 72 29 20 22 c0 09 |(sym buf|fer) "..|
|00000700| 5c 6e c3 23 87 22 20 5b | 6c 6f 63 61 6c 2d 76 61 |\n.#." [|local-va|
|00000710| 72 69 61 62 6c 65 2d 70 | 20 73 79 6d 20 62 75 66 |riable-p| sym buf|
|00000720| 66 65 72 20 74 5d 20 34 | 20 28 23 24 20 2e 20 31 |fer t] 4| (#$ . 1|
|00000730| 35 32 38 29 5d 29 0a 23 | 40 37 34 38 20 4d 61 6b |528)]).#|@748 Mak|
|00000740| 65 20 74 68 65 20 68 6f | 6f 6b 20 48 4f 4f 4b 20 |e the ho|ok HOOK |
|00000750| 6c 6f 63 61 6c 20 74 6f | 20 74 68 65 20 63 75 72 |local to| the cur|
|00000760| 72 65 6e 74 20 62 75 66 | 66 65 72 2e 0a 57 68 65 |rent buf|fer..Whe|
|00000770| 6e 20 61 20 68 6f 6f 6b | 20 69 73 20 6c 6f 63 61 |n a hook| is loca|
|00000780| 6c 2c 20 69 74 73 20 6c | 6f 63 61 6c 20 61 6e 64 |l, its l|ocal and|
|00000790| 20 67 6c 6f 62 61 6c 20 | 76 61 6c 75 65 73 0a 77 | global |values.w|
|000007a0| 6f 72 6b 20 69 6e 20 63 | 6f 6e 63 65 72 74 3a 20 |ork in c|oncert: |
|000007b0| 72 75 6e 6e 69 6e 67 20 | 74 68 65 20 68 6f 6f 6b |running |the hook|
|000007c0| 20 61 63 74 75 61 6c 6c | 79 20 72 75 6e 73 20 61 | actuall|y runs a|
|000007d0| 6c 6c 20 74 68 65 20 68 | 6f 6f 6b 0a 66 75 6e 63 |ll the h|ook.func|
|000007e0| 74 69 6f 6e 73 20 6c 69 | 73 74 65 64 20 69 6e 20 |tions li|sted in |
|000007f0| 2a 65 69 74 68 65 72 2a | 20 74 68 65 20 6c 6f 63 |*either*| the loc|
|00000800| 61 6c 20 76 61 6c 75 65 | 20 2a 6f 72 2a 20 74 68 |al value| *or* th|
|00000810| 65 20 67 6c 6f 62 61 6c | 20 76 61 6c 75 65 0a 6f |e global| value.o|
|00000820| 66 20 74 68 65 20 68 6f | 6f 6b 20 76 61 72 69 61 |f the ho|ok varia|
|00000830| 62 6c 65 2e 0a 0a 54 68 | 69 73 20 66 75 6e 63 74 |ble...Th|is funct|
|00000840| 69 6f 6e 20 77 6f 72 6b | 73 20 62 79 20 6d 61 6b |ion work|s by mak|
|00000850| 69 6e 67 20 60 74 27 20 | 61 20 6d 65 6d 62 65 72 |ing `t' |a member|
|00000860| 20 6f 66 20 74 68 65 20 | 62 75 66 66 65 72 2d 6c | of the |buffer-l|
|00000870| 6f 63 61 6c 20 76 61 6c | 75 65 2c 0a 77 68 69 63 |ocal val|ue,.whic|
|00000880| 68 20 61 63 74 73 20 61 | 73 20 61 20 66 6c 61 67 |h acts a|s a flag|
|00000890| 20 74 6f 20 72 75 6e 20 | 74 68 65 20 68 6f 6f 6b | to run |the hook|
|000008a0| 20 66 75 6e 63 74 69 6f | 6e 73 20 69 6e 20 74 68 | functio|ns in th|
|000008b0| 65 20 64 65 66 61 75 6c | 74 20 76 61 6c 75 65 20 |e defaul|t value |
|000008c0| 61 73 0a 77 65 6c 6c 2e | 20 20 54 68 69 73 20 77 |as.well.| This w|
|000008d0| 6f 72 6b 73 20 66 6f 72 | 20 61 6c 6c 20 6e 6f 72 |orks for| all nor|
|000008e0| 6d 61 6c 20 68 6f 6f 6b | 73 2c 20 62 75 74 20 64 |mal hook|s, but d|
|000008f0| 6f 65 73 20 6e 6f 74 20 | 77 6f 72 6b 20 66 6f 72 |oes not |work for|
|00000900| 20 6d 6f 73 74 0a 6e 6f | 6e 2d 6e 6f 72 6d 61 6c | most.no|n-normal|
|00000910| 20 68 6f 6f 6b 73 20 79 | 65 74 2e 20 20 57 65 20 | hooks y|et. We |
|00000920| 77 69 6c 6c 20 62 65 20 | 63 68 61 6e 67 69 6e 67 |will be |changing|
|00000930| 20 74 68 65 20 63 61 6c | 6c 65 72 73 20 6f 66 20 | the cal|lers of |
|00000940| 6e 6f 6e 2d 6e 6f 72 6d | 61 6c 0a 68 6f 6f 6b 73 |non-norm|al.hooks|
|00000950| 20 73 6f 20 74 68 61 74 | 20 74 68 65 79 20 63 61 | so that| they ca|
|00000960| 6e 20 68 61 6e 64 6c 65 | 20 6c 6f 63 61 6c 6e 65 |n handle| localne|
|00000970| 73 73 3b 20 74 68 69 73 | 20 68 61 73 20 74 6f 20 |ss; this| has to |
|00000980| 62 65 20 64 6f 6e 65 20 | 6f 6e 65 20 62 79 0a 6f |be done |one by.o|
|00000990| 6e 65 2e 0a 0a 54 68 69 | 73 20 66 75 6e 63 74 69 |ne...Thi|s functi|
|000009a0| 6f 6e 20 64 6f 65 73 20 | 6e 6f 74 68 69 6e 67 20 |on does |nothing |
|000009b0| 69 66 20 48 4f 4f 4b 20 | 69 73 20 61 6c 72 65 61 |if HOOK |is alrea|
|000009c0| 64 79 20 6c 6f 63 61 6c | 20 69 6e 20 74 68 65 20 |dy local| in the |
|000009d0| 63 75 72 72 65 6e 74 0a | 62 75 66 66 65 72 2e 0a |current.|buffer..|
|000009e0| 0a 44 6f 20 6e 6f 74 20 | 75 73 65 20 60 6d 61 6b |.Do not |use `mak|
|000009f0| 65 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |e-local-|variable|
|00000a00| 27 20 74 6f 20 6d 61 6b | 65 20 61 20 68 6f 6f 6b |' to mak|e a hook|
|00000a10| 20 76 61 72 69 61 62 6c | 65 20 62 75 66 66 65 72 | variabl|e buffer|
|00000a20| 2d 6c 6f 63 61 6c 2e 1f | 0a 28 64 65 66 61 6c 69 |-local..|.(defali|
|00000a30| 61 73 20 27 6d 61 6b 65 | 2d 6c 6f 63 61 6c 2d 68 |as 'make|-local-h|
|00000a40| 6f 6f 6b 20 23 5b 28 68 | 6f 6f 6b 29 20 22 c0 09 |ook #[(h|ook) "..|
|00000a50| 70 5c 22 3f ad 91 c2 09 | 21 ac 84 09 c3 4c 88 c4 |p\"?....|!....L..|
|00000a60| 09 21 88 09 c5 43 4c 87 | 22 20 5b 6c 6f 63 61 6c |.!...CL.|" [local|
|00000a70| 2d 76 61 72 69 61 62 6c | 65 2d 70 20 68 6f 6f 6b |-variabl|e-p hook|
|00000a80| 20 62 6f 75 6e 64 70 20 | 6e 69 6c 20 6d 61 6b 65 | boundp |nil make|
|00000a90| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 20 |-local-v|ariable |
|00000aa0| 74 5d 20 33 20 28 23 24 | 20 2e 20 31 38 35 33 29 |t] 3 (#$| . 1853)|
|00000ab0| 5d 29 0a 23 40 37 31 34 | 20 41 64 64 20 74 6f 20 |]).#@714| Add to |
|00000ac0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 48 4f 4f |the valu|e of HOO|
|00000ad0| 4b 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 46 |K the fu|nction F|
|00000ae0| 55 4e 43 54 49 4f 4e 2e | 0a 46 55 4e 43 54 49 4f |UNCTION.|.FUNCTIO|
|00000af0| 4e 20 69 73 20 6e 6f 74 | 20 61 64 64 65 64 20 69 |N is not| added i|
|00000b00| 66 20 61 6c 72 65 61 64 | 79 20 70 72 65 73 65 6e |f alread|y presen|
|00000b10| 74 2e 0a 46 55 4e 43 54 | 49 4f 4e 20 69 73 20 61 |t..FUNCT|ION is a|
|00000b20| 64 64 65 64 20 28 69 66 | 20 6e 65 63 65 73 73 61 |dded (if| necessa|
|00000b30| 72 79 29 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |ry) at t|he begin|
|00000b40| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 68 6f 6f 6b |ning of |the hook|
|00000b50| 20 6c 69 73 74 0a 75 6e | 6c 65 73 73 20 74 68 65 | list.un|less the|
|00000b60| 20 6f 70 74 69 6f 6e 61 | 6c 20 61 72 67 75 6d 65 | optiona|l argume|
|00000b70| 6e 74 20 41 50 50 45 4e | 44 20 69 73 20 6e 6f 6e |nt APPEN|D is non|
|00000b80| 2d 6e 69 6c 2c 20 69 6e | 20 77 68 69 63 68 20 63 |-nil, in| which c|
|00000b90| 61 73 65 0a 46 55 4e 43 | 54 49 4f 4e 20 69 73 20 |ase.FUNC|TION is |
|00000ba0| 61 64 64 65 64 20 61 74 | 20 74 68 65 20 65 6e 64 |added at| the end|
|00000bb0| 2e 0a 0a 54 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |...The o|ptional |
|00000bc0| 66 6f 75 72 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |fourth a|rgument,|
|00000bd0| 20 4c 4f 43 41 4c 2c 20 | 69 66 20 6e 6f 6e 2d 6e | LOCAL, |if non-n|
|00000be0| 69 6c 2c 20 73 61 79 73 | 20 74 6f 20 6d 6f 64 69 |il, says| to modi|
|00000bf0| 66 79 0a 74 68 65 20 68 | 6f 6f 6b 27 73 20 62 75 |fy.the h|ook's bu|
|00000c00| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 76 61 6c 75 65 |ffer-loc|al value|
|00000c10| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 69 74 73 | rather |than its|
|00000c20| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 2e 0a | default| value..|
|00000c30| 54 68 69 73 20 6d 61 6b | 65 73 20 6e 6f 20 64 69 |This mak|es no di|
|00000c40| 66 66 65 72 65 6e 63 65 | 20 69 66 20 74 68 65 20 |fference| if the |
|00000c50| 68 6f 6f 6b 20 69 73 20 | 6e 6f 74 20 62 75 66 66 |hook is |not buff|
|00000c60| 65 72 2d 6c 6f 63 61 6c | 2e 0a 54 6f 20 6d 61 6b |er-local|..To mak|
|00000c70| 65 20 61 20 68 6f 6f 6b | 20 76 61 72 69 61 62 6c |e a hook| variabl|
|00000c80| 65 20 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2c 20 |e buffer|-local, |
|00000c90| 61 6c 77 61 79 73 20 75 | 73 65 0a 60 6d 61 6b 65 |always u|se.`make|
|00000ca0| 2d 6c 6f 63 61 6c 2d 68 | 6f 6f 6b 27 2c 20 6e 6f |-local-h|ook', no|
|00000cb0| 74 20 60 6d 61 6b 65 2d | 6c 6f 63 61 6c 2d 76 61 |t `make-|local-va|
|00000cc0| 72 69 61 62 6c 65 27 2e | 0a 0a 48 4f 4f 4b 20 73 |riable'.|..HOOK s|
|00000cd0| 68 6f 75 6c 64 20 62 65 | 20 61 20 73 79 6d 62 6f |hould be| a symbo|
|00000ce0| 6c 2c 20 61 6e 64 20 46 | 55 4e 43 54 49 4f 4e 20 |l, and F|UNCTION |
|00000cf0| 6d 61 79 20 62 65 20 61 | 6e 79 20 76 61 6c 69 64 |may be a|ny valid|
|00000d00| 20 66 75 6e 63 74 69 6f | 6e 2e 20 20 49 66 0a 48 | functio|n. If.H|
|00000d10| 4f 4f 4b 20 69 73 20 76 | 6f 69 64 2c 20 69 74 20 |OOK is v|oid, it |
|00000d20| 69 73 20 66 69 72 73 74 | 20 73 65 74 20 74 6f 20 |is first| set to |
|00000d30| 6e 69 6c 2e 20 20 49 66 | 20 48 4f 4f 4b 27 73 20 |nil. If| HOOK's |
|00000d40| 76 61 6c 75 65 20 69 73 | 20 61 20 73 69 6e 67 6c |value is| a singl|
|00000d50| 65 0a 66 75 6e 63 74 69 | 6f 6e 2c 20 69 74 20 69 |e.functi|on, it i|
|00000d60| 73 20 63 68 61 6e 67 65 | 64 20 74 6f 20 61 20 6c |s change|d to a l|
|00000d70| 69 73 74 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |ist of f|unctions|
|00000d80| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 64 |...(defa|lias 'ad|
|00000d90| 64 2d 68 6f 6f 6b 20 23 | 5b 28 68 6f 6f 6b 20 66 |d-hook #|[(hook f|
|00000da0| 75 6e 63 74 69 6f 6e 20 | 26 6f 70 74 69 6f 6e 61 |unction |&optiona|
|00000db0| 6c 20 61 70 70 65 6e 64 | 20 6c 6f 63 61 6c 29 20 |l append| local) |
|00000dc0| 22 c0 09 21 ac 84 09 c2 | 4c 88 c3 09 21 ac 85 c4 |"..!....|L...!...|
|00000dd0| 09 c2 5c 22 88 09 4a 89 | 1d 3c ab 86 0d 40 c6 61 |..\"..J.|.<...@.a|
|00000de0| ab 85 09 0d 43 4c 88 29 | 0e 07 ac 8c c8 09 70 5c |....CL.)|......p\|
|00000df0| 22 ab ae c9 09 4a 73 ac | a8 0e 5c 6e 3a ab 87 0e |"....Js.|..\n:...|
|00000e00| 5c 6e 09 4a b6 aa 85 0e | 5c 6e 09 4a 73 ae c1 09 |\n.J....|\n.Js...|
|00000e10| 0e 0b ab 89 cb 09 4a 0e | 5c 6e 43 5c 22 aa 85 0e |......J.|\nC\"...|
|00000e20| 5c 6e 09 4a 42 4c 87 0e | 5c 6e 3a ab 88 0e 5c 6e |\n.JBL..|\n:...\n|
|00000e30| cc 09 21 b6 aa 86 0e 5c | 6e cc 09 21 73 ae 97 c4 |..!....\|n..!s...|
|00000e40| 09 0e 0b ab 8a cb cc 09 | 21 0e 5c 6e 43 5c 22 aa |........|!.\nC\".|
|00000e50| 86 0e 5c 6e cc 09 21 42 | 5c 22 87 22 20 5b 62 6f |..\n..!B|\"." [bo|
|00000e60| 75 6e 64 70 20 68 6f 6f | 6b 20 6e 69 6c 20 64 65 |undp hoo|k nil de|
|00000e70| 66 61 75 6c 74 2d 62 6f | 75 6e 64 70 20 73 65 74 |fault-bo|undp set|
|00000e80| 2d 64 65 66 61 75 6c 74 | 20 6f 6c 64 20 6c 61 6d |-default| old lam|
|00000e90| 62 64 61 20 6c 6f 63 61 | 6c 20 6c 6f 63 61 6c 2d |bda loca|l local-|
|00000ea0| 76 61 72 69 61 62 6c 65 | 2d 69 66 2d 73 65 74 2d |variable|-if-set-|
|00000eb0| 70 20 74 20 66 75 6e 63 | 74 69 6f 6e 20 61 70 70 |p t func|tion app|
|00000ec0| 65 6e 64 20 64 65 66 61 | 75 6c 74 2d 76 61 6c 75 |end defa|ult-valu|
|00000ed0| 65 5d 20 36 20 28 23 24 | 20 2e 20 32 37 34 35 29 |e] 6 (#$| . 2745)|
|00000ee0| 5d 29 0a 23 40 35 34 32 | 20 52 65 6d 6f 76 65 20 |]).#@542| Remove |
|00000ef0| 66 72 6f 6d 20 74 68 65 | 20 76 61 6c 75 65 20 6f |from the| value o|
|00000f00| 66 20 48 4f 4f 4b 20 74 | 68 65 20 66 75 6e 63 74 |f HOOK t|he funct|
|00000f10| 69 6f 6e 20 46 55 4e 43 | 54 49 4f 4e 2e 0a 48 4f |ion FUNC|TION..HO|
|00000f20| 4f 4b 20 73 68 6f 75 6c | 64 20 62 65 20 61 20 73 |OK shoul|d be a s|
|00000f30| 79 6d 62 6f 6c 2c 20 61 | 6e 64 20 46 55 4e 43 54 |ymbol, a|nd FUNCT|
|00000f40| 49 4f 4e 20 6d 61 79 20 | 62 65 20 61 6e 79 20 76 |ION may |be any v|
|00000f50| 61 6c 69 64 20 66 75 6e | 63 74 69 6f 6e 2e 20 20 |alid fun|ction. |
|00000f60| 49 66 0a 46 55 4e 43 54 | 49 4f 4e 20 69 73 6e 27 |If.FUNCT|ION isn'|
|00000f70| 74 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 48 |t the va|lue of H|
|00000f80| 4f 4f 4b 2c 20 6f 72 2c | 20 69 66 20 46 55 4e 43 |OOK, or,| if FUNC|
|00000f90| 54 49 4f 4e 20 64 6f 65 | 73 6e 27 74 20 61 70 70 |TION doe|sn't app|
|00000fa0| 65 61 72 20 69 6e 20 74 | 68 65 0a 6c 69 73 74 20 |ear in t|he.list |
|00000fb0| 6f 66 20 68 6f 6f 6b 73 | 20 74 6f 20 72 75 6e 20 |of hooks| to run |
|00000fc0| 69 6e 20 48 4f 4f 4b 2c | 20 74 68 65 6e 20 6e 6f |in HOOK,| then no|
|00000fd0| 74 68 69 6e 67 20 69 73 | 20 64 6f 6e 65 2e 20 20 |thing is| done. |
|00000fe0| 53 65 65 20 60 61 64 64 | 2d 68 6f 6f 6b 27 2e 0a |See `add|-hook'..|
|00000ff0| 0a 54 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 74 68 |.The opt|ional th|
|00001000| 69 72 64 20 61 72 67 75 | 6d 65 6e 74 2c 20 4c 4f |ird argu|ment, LO|
|00001010| 43 41 4c 2c 20 69 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |CAL, if |non-nil,|
|00001020| 20 73 61 79 73 20 74 6f | 20 6d 6f 64 69 66 79 0a | says to| modify.|
|00001030| 74 68 65 20 68 6f 6f 6b | 27 73 20 62 75 66 66 65 |the hook|'s buffe|
|00001040| 72 2d 6c 6f 63 61 6c 20 | 76 61 6c 75 65 20 72 61 |r-local |value ra|
|00001050| 74 68 65 72 20 74 68 61 | 6e 20 69 74 73 20 64 65 |ther tha|n its de|
|00001060| 66 61 75 6c 74 20 76 61 | 6c 75 65 2e 0a 54 68 69 |fault va|lue..Thi|
|00001070| 73 20 6d 61 6b 65 73 20 | 6e 6f 20 64 69 66 66 65 |s makes |no diffe|
|00001080| 72 65 6e 63 65 20 69 66 | 20 74 68 65 20 68 6f 6f |rence if| the hoo|
|00001090| 6b 20 69 73 20 6e 6f 74 | 20 62 75 66 66 65 72 2d |k is not| buffer-|
|000010a0| 6c 6f 63 61 6c 2e 0a 54 | 6f 20 6d 61 6b 65 20 61 |local..T|o make a|
|000010b0| 20 68 6f 6f 6b 20 76 61 | 72 69 61 62 6c 65 20 62 | hook va|riable b|
|000010c0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 2c 20 61 6c 77 |uffer-lo|cal, alw|
|000010d0| 61 79 73 20 75 73 65 0a | 60 6d 61 6b 65 2d 6c 6f |ays use.|`make-lo|
|000010e0| 63 61 6c 2d 68 6f 6f 6b | 27 2c 20 6e 6f 74 20 60 |cal-hook|', not `|
|000010f0| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|00001100| 62 6c 65 27 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ble'...(|defalias|
|00001110| 20 27 72 65 6d 6f 76 65 | 2d 68 6f 6f 6b 20 23 5b | 'remove|-hook #[|
|00001120| 28 68 6f 6f 6b 20 66 75 | 6e 63 74 69 6f 6e 20 26 |(hook fu|nction &|
|00001130| 6f 70 74 69 6f 6e 61 6c | 20 6c 6f 63 61 6c 29 20 |optional| local) |
|00001140| 22 c0 09 21 3f ae 8d c2 | c1 21 3f ae 87 09 4a 3f |"..!?...|.!?...J?|
|00001150| ae 82 0b 3f 3f ad e0 0c | ac 8c c5 09 70 5c 22 ab |...??...|....p\".|
|00001160| ae c6 09 4a 73 ac a8 09 | 4a 89 1e 07 3a ab 91 0b |...Js...|J...:...|
|00001170| 0e 07 b6 ab 94 c8 0b c9 | 0e 07 21 5c 22 16 07 aa |........|..!\"...|
|00001180| 89 0e 07 0b 6b ab 83 ca | 16 07 09 0e 07 4c 29 87 |....k...|.....L).|
|00001190| cb 09 21 89 1e 07 3a ab | 91 0b 0e 07 b6 ab 94 c8 |..!...:.|........|
|000011a0| 0b c9 0e 07 21 5c 22 16 | 07 aa 89 0e 07 0b 6b ab |....!\".|......k.|
|000011b0| 83 ca 16 07 cc 09 0e 07 | 5c 22 29 87 22 20 5b 62 |........|\")." [b|
|000011c0| 6f 75 6e 64 70 20 68 6f | 6f 6b 20 64 65 66 61 75 |oundp ho|ok defau|
|000011d0| 6c 74 2d 62 6f 75 6e 64 | 70 20 66 75 6e 63 74 69 |lt-bound|p functi|
|000011e0| 6f 6e 20 6c 6f 63 61 6c | 20 6c 6f 63 61 6c 2d 76 |on local| local-v|
|000011f0| 61 72 69 61 62 6c 65 2d | 70 20 74 20 68 6f 6f 6b |ariable-|p t hook|
|00001200| 2d 76 61 6c 75 65 20 64 | 65 6c 65 74 65 20 63 6f |-value d|elete co|
|00001210| 70 79 2d 73 65 71 75 65 | 6e 63 65 20 6e 69 6c 20 |py-seque|nce nil |
|00001220| 64 65 66 61 75 6c 74 2d | 76 61 6c 75 65 20 73 65 |default-|value se|
|00001230| 74 2d 64 65 66 61 75 6c | 74 5d 20 35 20 28 23 24 |t-defaul|t] 5 (#$|
|00001240| 20 2e 20 33 38 31 37 29 | 5d 29 0a 23 40 34 35 38 | . 3817)|]).#@458|
|00001250| 20 41 64 64 20 74 6f 20 | 74 68 65 20 76 61 6c 75 | Add to |the valu|
|00001260| 65 20 6f 66 20 4c 49 53 | 54 2d 56 41 52 20 74 68 |e of LIS|T-VAR th|
|00001270| 65 20 65 6c 65 6d 65 6e | 74 20 45 4c 45 4d 45 4e |e elemen|t ELEMEN|
|00001280| 54 20 69 66 20 69 74 20 | 69 73 6e 27 74 20 74 68 |T if it |isn't th|
|00001290| 65 72 65 20 79 65 74 2e | 0a 54 68 65 20 74 65 73 |ere yet.|.The tes|
|000012a0| 74 20 66 6f 72 20 70 72 | 65 73 65 6e 63 65 20 6f |t for pr|esence o|
|000012b0| 66 20 45 4c 45 4d 45 4e | 54 20 69 73 20 64 6f 6e |f ELEMEN|T is don|
|000012c0| 65 20 77 69 74 68 20 60 | 65 71 75 61 6c 27 2e 0a |e with `|equal'..|
|000012d0| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 75 |If you w|ant to u|
|000012e0| 73 65 20 60 61 64 64 2d | 74 6f 2d 6c 69 73 74 27 |se `add-|to-list'|
|000012f0| 20 6f 6e 20 61 20 76 61 | 72 69 61 62 6c 65 20 74 | on a va|riable t|
|00001300| 68 61 74 20 69 73 20 6e | 6f 74 20 64 65 66 69 6e |hat is n|ot defin|
|00001310| 65 64 0a 75 6e 74 69 6c | 20 61 20 63 65 72 74 61 |ed.until| a certa|
|00001320| 69 6e 20 70 61 63 6b 61 | 67 65 20 69 73 20 6c 6f |in packa|ge is lo|
|00001330| 61 64 65 64 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |aded, yo|u should|
|00001340| 20 70 75 74 20 74 68 65 | 20 63 61 6c 6c 20 74 6f | put the| call to|
|00001350| 20 60 61 64 64 2d 74 6f | 2d 6c 69 73 74 27 0a 69 | `add-to|-list'.i|
|00001360| 6e 74 6f 20 61 20 68 6f | 6f 6b 20 66 75 6e 63 74 |nto a ho|ok funct|
|00001370| 69 6f 6e 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |ion that| will be|
|00001380| 20 72 75 6e 20 6f 6e 6c | 79 20 61 66 74 65 72 20 | run onl|y after |
|00001390| 6c 6f 61 64 69 6e 67 20 | 74 68 65 20 70 61 63 6b |loading |the pack|
|000013a0| 61 67 65 2e 0a 60 65 76 | 61 6c 2d 61 66 74 65 72 |age..`ev|al-after|
|000013b0| 2d 6c 6f 61 64 27 20 70 | 72 6f 76 69 64 65 73 20 |-load' p|rovides |
|000013c0| 6f 6e 65 20 77 61 79 20 | 74 6f 20 64 6f 20 74 68 |one way |to do th|
|000013d0| 69 73 2e 20 20 49 6e 20 | 73 6f 6d 65 20 63 61 73 |is. In |some cas|
|000013e0| 65 73 0a 6f 74 68 65 72 | 20 68 6f 6f 6b 73 2c 20 |es.other| hooks, |
|000013f0| 73 75 63 68 20 61 73 20 | 6d 61 6a 6f 72 20 6d 6f |such as |major mo|
|00001400| 64 65 20 68 6f 6f 6b 73 | 2c 20 63 61 6e 20 64 6f |de hooks|, can do|
|00001410| 20 74 68 65 20 6a 6f 62 | 2e 1f 0a 28 64 65 66 61 | the job|...(defa|
|00001420| 6c 69 61 73 20 27 61 64 | 64 2d 74 6f 2d 6c 69 73 |lias 'ad|d-to-lis|
|00001430| 74 20 23 5b 28 6c 69 73 | 74 2d 76 61 72 20 65 6c |t #[(lis|t-var el|
|00001440| 65 6d 65 6e 74 29 20 22 | 08 09 4a b6 ae 86 09 08 |ement) "|..J.....|
|00001450| 09 4a 42 4c 87 22 20 5b | 65 6c 65 6d 65 6e 74 20 |.JBL." [|element |
|00001460| 6c 69 73 74 2d 76 61 72 | 5d 20 33 20 28 23 24 20 |list-var|] 3 (#$ |
|00001470| 2e 20 34 36 38 39 29 5d | 29 0a 23 40 31 37 33 20 |. 4689)]|).#@173 |
|00001480| 46 75 6e 63 74 69 6f 6e | 20 6f 72 20 66 75 6e 63 |Function| or func|
|00001490| 74 69 6f 6e 73 20 74 6f | 20 62 65 20 63 61 6c 6c |tions to| be call|
|000014a0| 65 64 20 77 68 65 6e 20 | 61 20 62 75 66 66 65 72 |ed when |a buffer|
|000014b0| 20 69 73 20 6b 69 6c 6c | 65 64 2e 0a 54 68 65 20 | is kill|ed..The |
|000014c0| 76 61 6c 75 65 20 6f 66 | 20 74 68 69 73 20 76 61 |value of| this va|
|000014d0| 72 69 61 62 6c 65 20 6d | 61 79 20 62 65 20 62 75 |riable m|ay be bu|
|000014e0| 66 66 65 72 2d 6c 6f 63 | 61 6c 2e 0a 54 68 65 20 |ffer-loc|al..The |
|000014f0| 62 75 66 66 65 72 20 61 | 62 6f 75 74 20 74 6f 20 |buffer a|bout to |
|00001500| 62 65 20 6b 69 6c 6c 65 | 64 20 69 73 20 63 75 72 |be kille|d is cur|
|00001510| 72 65 6e 74 20 77 68 65 | 6e 20 74 68 69 73 20 68 |rent whe|n this h|
|00001520| 6f 6f 6b 20 69 73 20 72 | 75 6e 2e 1f 0a 28 64 65 |ook is r|un...(de|
|00001530| 66 76 61 72 20 6b 69 6c | 6c 2d 62 75 66 66 65 72 |fvar kil|l-buffer|
|00001540| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 28 23 24 20 2e 20 |-hook ni|l (#$ . |
|00001550| 35 32 34 38 29 29 0a 23 | 40 31 30 33 20 46 75 6e |5248)).#|@103 Fun|
|00001560| 63 74 69 6f 6e 20 6f 72 | 20 66 75 6e 63 74 69 6f |ction or| functio|
|00001570| 6e 73 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |ns to be| called |
|00001580| 77 68 65 6e 20 60 6b 69 | 6c 6c 2d 65 6d 61 63 73 |when `ki|ll-emacs|
|00001590| 27 20 69 73 20 63 61 6c | 6c 65 64 2c 0a 6a 75 73 |' is cal|led,.jus|
|000015a0| 74 20 62 65 66 6f 72 65 | 20 65 6d 61 63 73 20 69 |t before| emacs i|
|000015b0| 73 20 61 63 74 75 61 6c | 6c 79 20 6b 69 6c 6c 65 |s actual|ly kille|
|000015c0| 64 2e 1f 0a 28 64 65 66 | 76 61 72 20 6b 69 6c 6c |d...(def|var kill|
|000015d0| 2d 65 6d 61 63 73 2d 68 | 6f 6f 6b 20 6e 69 6c 20 |-emacs-h|ook nil |
|000015e0| 28 23 24 20 2e 20 35 34 | 36 39 29 29 0a 28 62 79 |(#$ . 54|69)).(by|
|000015f0| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 c2 5c 22 88 c0 |te-code |"...\"..|
|00001600| c3 c4 5c 22 87 22 20 5b | 64 65 66 69 6e 65 2d 66 |..\"." [|define-f|
|00001610| 75 6e 63 74 69 6f 6e 20 | 72 70 6c 61 63 61 20 73 |unction |rplaca s|
|00001620| 65 74 63 61 72 20 72 70 | 6c 61 63 64 20 73 65 74 |etcar rp|lacd set|
|00001630| 63 64 72 5d 20 33 29 0a | 23 40 33 31 33 20 52 65 |cdr] 3).|#@313 Re|
|00001640| 70 6c 61 63 65 73 20 61 | 6c 6c 20 6d 61 74 63 68 |places a|ll match|
|00001650| 65 73 20 69 6e 20 53 54 | 52 20 66 6f 72 20 52 45 |es in ST|R for RE|
|00001660| 47 45 58 50 20 77 69 74 | 68 20 4e 45 57 54 45 58 |GEXP wit|h NEWTEX|
|00001670| 54 20 73 74 72 69 6e 67 | 2c 0a 20 61 6e 64 20 72 |T string|,. and r|
|00001680| 65 74 75 72 6e 73 20 74 | 68 65 20 6e 65 77 20 73 |eturns t|he new s|
|00001690| 74 72 69 6e 67 2e 0a 4f | 70 74 69 6f 6e 61 6c 20 |tring..O|ptional |
|000016a0| 4c 49 54 45 52 41 4c 20 | 6e 6f 6e 2d 6e 69 6c 20 |LITERAL |non-nil |
|000016b0| 6d 65 61 6e 73 20 64 6f | 20 61 20 6c 69 74 65 72 |means do| a liter|
|000016c0| 61 6c 20 72 65 70 6c 61 | 63 65 6d 65 6e 74 2e 0a |al repla|cement..|
|000016d0| 4f 74 68 65 72 77 69 73 | 65 20 74 72 65 61 74 20 |Otherwis|e treat |
|000016e0| 5c 20 69 6e 20 4e 45 57 | 54 45 58 54 20 73 74 72 |\ in NEW|TEXT str|
|000016f0| 69 6e 67 20 61 73 20 73 | 70 65 63 69 61 6c 3a 0a |ing as s|pecial:.|
|00001700| 20 20 5c 26 20 6d 65 61 | 6e 73 20 73 75 62 73 74 | \& mea|ns subst|
|00001710| 69 74 75 74 65 20 6f 72 | 69 67 69 6e 61 6c 20 6d |itute or|iginal m|
|00001720| 61 74 63 68 65 64 20 74 | 65 78 74 2c 0a 20 20 5c |atched t|ext,. \|
|00001730| 4e 20 6d 65 61 6e 73 20 | 73 75 62 73 74 69 74 75 |N means |substitu|
|00001740| 74 65 20 6d 61 74 63 68 | 20 66 6f 72 20 28 2e 2e |te match| for (..|
|00001750| 2e 29 20 6e 75 6d 62 65 | 72 20 4e 2c 0a 20 20 5c |.) numbe|r N,. \|
|00001760| 5c 20 6d 65 61 6e 73 20 | 69 6e 73 65 72 74 20 6f |\ means |insert o|
|00001770| 6e 65 20 5c 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ne \...(|defalias|
|00001780| 20 27 72 65 70 6c 61 63 | 65 2d 69 6e 2d 73 74 72 | 'replac|e-in-str|
|00001790| 69 6e 67 20 23 5b 28 73 | 74 72 20 72 65 67 65 78 |ing #[(s|tr regex|
|000017a0| 70 20 6e 65 77 74 65 78 | 74 20 26 6f 70 74 69 6f |p newtex|t &optio|
|000017b0| 6e 61 6c 20 6c 69 74 65 | 72 61 6c 29 20 22 08 3b |nal lite|ral) ".;|
|000017c0| ac 85 c1 c2 08 5c 22 10 | 0b 3b ac 85 c1 c2 0b 5c |.....\".|.;.....\|
|000017d0| 22 13 c4 c5 c6 89 89 1e | 07 1e 08 1e 09 1e 5c 6e |".......|......\n|
|000017e0| 1e 0b cc 0e 0d 08 0e 5c | 6e 23 89 16 08 ab a1 0e |.......\|n#......|
|000017f0| 5c 6e 16 07 c5 95 16 5c | 6e 0e 0b 08 0e 07 0e 08 |\n.....\|n.......|
|00001800| 4f 0e 0e ab 83 0b aa 85 | cf d0 0b c4 23 51 16 0b |O.......|....#Q..|
|00001810| aa 53 0e 0b 08 0e 5c 6e | c6 4f 50 2d 87 22 20 5b |.S....\n|.OP-." [|
|00001820| 73 74 72 20 77 72 6f 6e | 67 2d 74 79 70 65 2d 61 |str wron|g-type-a|
|00001830| 72 67 75 6d 65 6e 74 20 | 73 74 72 69 6e 67 70 20 |rgument |stringp |
|00001840| 6e 65 77 74 65 78 74 20 | 22 22 20 30 20 6e 69 6c |newtext |"" 0 nil|
|00001850| 20 70 72 65 76 2d 73 74 | 61 72 74 20 6d 61 74 63 | prev-st|art matc|
|00001860| 68 20 73 70 65 63 69 61 | 6c 20 73 74 61 72 74 20 |h specia|l start |
|00001870| 72 74 6e 2d 73 74 72 20 | 73 74 72 69 6e 67 2d 6d |rtn-str |string-m|
|00001880| 61 74 63 68 20 72 65 67 | 65 78 70 20 6c 69 74 65 |atch reg|exp lite|
|00001890| 72 61 6c 20 6d 61 70 63 | 6f 6e 63 61 74 20 23 5b |ral mapc|oncat #[|
|000018a0| 28 63 29 20 22 08 ab be | c1 10 5c 6e c3 61 ab 82 |(c) "...|..\n.a..|
|000018b0| c4 87 5c 6e c5 61 ab 88 | 0e 06 c7 94 c7 95 4f 87 |..\n.a..|......O.|
|000018c0| 5c 6e c8 59 ab 9f 5c 6e | c9 58 ab 9a 5c 6e c8 ca |\n.Y..\n|.X..\n..|
|000018d0| 20 47 5c 5c 56 ab 85 cb | cc 5c 6e 5c 22 87 5c 6e | G\\V...|.\n\".\n|
|000018e0| c8 5a 12 0e 06 5c 6e 94 | 5c 6e 95 4f 87 cd 5c 6e |.Z...\n.|\n.O..\n|
|000018f0| 21 87 5c 6e c3 61 ab 84 | ce 10 c1 87 cd 5c 6e 21 |!.\n.a..|.....\n!|
|00001900| 87 22 20 5b 73 70 65 63 | 69 61 6c 20 6e 69 6c 20 |." [spec|ial nil |
|00001910| 63 20 3f 5c 5c 20 22 5c | 5c 22 20 3f 5c 26 20 73 |c ?\\ "\|\" ?\& s|
|00001920| 74 72 20 30 20 3f 30 20 | 3f 39 20 6d 61 74 63 68 |tr 0 ?0 |?9 match|
|00001930| 2d 64 61 74 61 20 65 72 | 72 6f 72 20 22 49 6e 76 |-data er|ror "Inv|
|00001940| 61 6c 69 64 20 6d 61 74 | 63 68 20 6e 75 6d 3a 20 |alid mat|ch num: |
|00001950| 25 63 22 20 63 68 61 72 | 2d 74 6f 2d 73 74 72 69 |%c" char|-to-stri|
|00001960| 6e 67 20 74 5d 20 33 5d | 5d 20 36 20 28 23 24 20 |ng t] 3]|] 6 (#$ |
|00001970| 2e 20 35 36 39 34 29 5d | 29 0a 23 40 31 32 37 20 |. 5694)]|).#@127 |
|00001980| 52 65 74 75 72 6e 20 61 | 20 6c 69 73 74 20 6f 66 |Return a| list of|
|00001990| 20 73 75 62 73 74 72 69 | 6e 67 73 20 6f 66 20 53 | substri|ngs of S|
|000019a0| 54 52 49 4e 47 20 77 68 | 69 63 68 20 61 72 65 20 |TRING wh|ich are |
|000019b0| 73 65 70 61 72 61 74 65 | 64 20 62 79 20 50 41 54 |separate|d by PAT|
|000019c0| 54 45 52 4e 2e 0a 49 66 | 20 50 41 54 54 45 52 4e |TERN..If| PATTERN|
|000019d0| 20 69 73 20 6f 6d 69 74 | 74 65 64 2c 20 69 74 20 | is omit|ted, it |
|000019e0| 64 65 66 61 75 6c 74 73 | 20 74 6f 20 22 5b 20 5c |defaults| to "[ \|
|000019f0| 66 5c 74 5c 6e 5c 72 5c | 76 5d 2b 22 2e 1f 0a 28 |f\t\n\r\|v]+"...(|
|00001a00| 64 65 66 61 6c 69 61 73 | 20 27 73 70 6c 69 74 2d |defalias| 'split-|
|00001a10| 73 74 72 69 6e 67 20 23 | 5b 28 73 74 72 69 6e 67 |string #|[(string|
|00001a20| 20 26 6f 70 74 69 6f 6e | 61 6c 20 70 61 74 74 65 | &option|al patte|
|00001a30| 72 6e 29 20 22 08 ac 82 | c1 10 c2 c3 1c 1d c6 08 |rn) "...|........|
|00001a40| 0e 07 0c 23 ab 8e 0e 07 | 0c c3 94 4f 0d 42 15 c3 |...#....|...O.B..|
|00001a50| 95 14 aa 6a 0e 07 0c c2 | 4f 0d 42 9f 2a 87 22 20 |...j....|O.B.*." |
|00001a60| 5b 70 61 74 74 65 72 6e | 20 22 5b 20 0c 09 5c 6e |[pattern| "[ ..\n|
|00001a70| 0d 0b 5d 2b 22 20 6e 69 | 6c 20 30 20 73 74 61 72 |..]+" ni|l 0 star|
|00001a80| 74 20 70 61 72 74 73 20 | 73 74 72 69 6e 67 2d 6d |t parts |string-m|
|00001a90| 61 74 63 68 20 73 74 72 | 69 6e 67 5d 20 34 20 28 |atch str|ing] 4 (|
|00001aa0| 23 24 20 2e 20 36 35 32 | 38 29 5d 29 0a 23 40 38 |#$ . 652|8)]).#@8|
|00001ab0| 37 20 43 6f 6c 6c 65 63 | 74 20 6f 75 74 70 75 74 |7 Collec|t output|
|00001ac0| 20 74 6f 20 60 73 74 61 | 6e 64 61 72 64 2d 6f 75 | to `sta|ndard-ou|
|00001ad0| 74 70 75 74 27 20 77 68 | 69 6c 65 20 65 76 61 6c |tput' wh|ile eval|
|00001ae0| 75 61 74 69 6e 67 20 46 | 4f 52 4d 53 20 61 6e 64 |uating F|ORMS and|
|00001af0| 20 72 65 74 75 72 6e 0a | 69 74 20 61 73 20 61 20 | return.|it as a |
|00001b00| 73 74 72 69 6e 67 2e 1f | 0a 28 64 65 66 61 6c 69 |string..|.(defali|
|00001b10| 61 73 20 27 77 69 74 68 | 2d 6f 75 74 70 75 74 2d |as 'with|-output-|
|00001b20| 74 6f 2d 73 74 72 69 6e | 67 20 27 28 6d 61 63 72 |to-strin|g '(macr|
|00001b30| 6f 20 2e 20 23 5b 28 26 | 72 65 73 74 20 66 6f 72 |o . #[(&|rest for|
|00001b40| 6d 73 29 20 22 c0 c1 c2 | c3 c4 c5 c6 0e 07 42 42 |ms) "...|......BB|
|00001b50| c8 42 42 42 42 42 42 87 | 22 20 5b 77 69 74 68 2d |.BBBBBB.|" [with-|
|00001b60| 63 75 72 72 65 6e 74 2d | 62 75 66 66 65 72 20 28 |current-|buffer (|
|00001b70| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00001b80| 65 20 22 20 2a 73 74 72 | 69 6e 67 2d 6f 75 74 70 |e " *str|ing-outp|
|00001b90| 75 74 2a 22 29 20 28 73 | 65 74 71 20 62 75 66 66 |ut*") (s|etq buff|
|00001ba0| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 6e 69 6c |er-read-|only nil|
|00001bb0| 29 20 28 62 75 66 66 65 | 72 2d 64 69 73 61 62 6c |) (buffe|r-disabl|
|00001bc0| 65 2d 75 6e 64 6f 20 28 | 63 75 72 72 65 6e 74 2d |e-undo (|current-|
|00001bd0| 62 75 66 66 65 72 29 29 | 20 28 65 72 61 73 65 2d |buffer))| (erase-|
|00001be0| 62 75 66 66 65 72 29 20 | 6c 65 74 20 28 28 73 74 |buffer) |let ((st|
|00001bf0| 61 6e 64 61 72 64 2d 6f | 75 74 70 75 74 20 28 63 |andard-o|utput (c|
|00001c00| 75 72 72 65 6e 74 2d 62 | 75 66 66 65 72 29 29 29 |urrent-b|uffer)))|
|00001c10| 20 66 6f 72 6d 73 20 28 | 28 70 72 6f 67 31 20 28 | forms (|(prog1 (|
|00001c20| 62 75 66 66 65 72 2d 73 | 74 72 69 6e 67 29 20 28 |buffer-s|tring) (|
|00001c30| 65 72 61 73 65 2d 62 75 | 66 66 65 72 29 29 29 5d |erase-bu|ffer)))]|
|00001c40| 20 38 20 28 23 24 20 2e | 20 36 38 33 34 29 5d 29 | 8 (#$ .| 6834)])|
|00001c50| 29 0a 23 40 31 34 39 20 | 45 78 65 63 75 74 65 20 |).#@149 |Execute |
|00001c60| 74 68 65 20 66 6f 72 6d | 73 20 69 6e 20 42 4f 44 |the form|s in BOD|
|00001c70| 59 20 77 69 74 68 20 42 | 55 46 46 45 52 20 61 73 |Y with B|UFFER as|
|00001c80| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 62 75 66 | the cur|rent buf|
|00001c90| 66 65 72 2e 0a 54 68 65 | 20 76 61 6c 75 65 20 72 |fer..The| value r|
|00001ca0| 65 74 75 72 6e 65 64 20 | 69 73 20 74 68 65 20 76 |eturned |is the v|
|00001cb0| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 6c 61 73 74 |alue of |the last|
|00001cc0| 20 66 6f 72 6d 20 69 6e | 20 42 4f 44 59 2e 0a 53 | form in| BODY..S|
|00001cd0| 65 65 20 61 6c 73 6f 20 | 60 77 69 74 68 2d 74 65 |ee also |`with-te|
|00001ce0| 6d 70 2d 62 75 66 66 65 | 72 27 2e 1f 0a 28 64 65 |mp-buffe|r'...(de|
|00001cf0| 66 61 6c 69 61 73 20 27 | 77 69 74 68 2d 63 75 72 |falias '|with-cur|
|00001d00| 72 65 6e 74 2d 62 75 66 | 66 65 72 20 27 28 6d 61 |rent-buf|fer '(ma|
|00001d10| 63 72 6f 20 2e 20 23 5b | 28 62 75 66 66 65 72 20 |cro . #[|(buffer |
|00001d20| 26 72 65 73 74 20 62 6f | 64 79 29 20 22 c0 c1 5c |&rest bo|dy) "..\|
|00001d30| 6e 44 0b 42 42 87 22 20 | 5b 73 61 76 65 2d 63 75 |nD.BB." |[save-cu|
|00001d40| 72 72 65 6e 74 2d 62 75 | 66 66 65 72 20 73 65 74 |rrent-bu|ffer set|
|00001d50| 2d 62 75 66 66 65 72 20 | 62 75 66 66 65 72 20 62 |-buffer |buffer b|
|00001d60| 6f 64 79 5d 20 33 20 28 | 23 24 20 2e 20 37 32 35 |ody] 3 (|#$ . 725|
|00001d70| 36 29 5d 29 29 0a 23 40 | 31 36 36 20 43 72 65 61 |6)])).#@|166 Crea|
|00001d80| 74 65 20 61 20 6e 65 77 | 20 62 75 66 66 65 72 2c |te a new| buffer,|
|00001d90| 20 65 76 61 6c 75 61 74 | 65 20 46 4f 52 4d 53 20 | evaluat|e FORMS |
|00001da0| 74 68 65 72 65 2c 20 61 | 6e 64 20 77 72 69 74 65 |there, a|nd write|
|00001db0| 20 74 68 65 20 62 75 66 | 66 65 72 20 74 6f 20 46 | the buf|fer to F|
|00001dc0| 49 4c 45 2e 0a 54 68 65 | 20 76 61 6c 75 65 20 6f |ILE..The| value o|
|00001dd0| 66 20 74 68 65 20 6c 61 | 73 74 20 66 6f 72 6d 20 |f the la|st form |
|00001de0| 69 6e 20 46 4f 52 4d 53 | 20 69 73 20 72 65 74 75 |in FORMS| is retu|
|00001df0| 72 6e 65 64 2c 20 6c 69 | 6b 65 20 60 70 72 6f 67 |rned, li|ke `prog|
|00001e00| 6e 27 2e 0a 53 65 65 20 | 61 6c 73 6f 20 60 77 69 |n'..See |also `wi|
|00001e10| 74 68 2d 74 65 6d 70 2d | 62 75 66 66 65 72 27 2e |th-temp-|buffer'.|
|00001e20| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 77 69 74 |..(defal|ias 'wit|
|00001e30| 68 2d 74 65 6d 70 2d 66 | 69 6c 65 20 27 28 6d 61 |h-temp-f|ile '(ma|
|00001e40| 63 72 6f 20 2e 20 23 5b | 28 66 69 6c 65 20 26 72 |cro . #[|(file &r|
|00001e50| 65 73 74 20 66 6f 72 6d | 73 29 20 22 c0 c1 21 c0 |est form|s) "..!.|
|00001e60| c2 21 1b 1c c5 0c 0e 06 | 44 0b c7 42 44 c8 c9 ca |.!......|D..BD...|
|00001e70| 0b 0e 0b 42 42 ca 0b cc | cd ce cf 0c d0 42 42 42 |...BB...|.....BBB|
|00001e80| 42 46 45 d1 d2 0b 44 d3 | 0b 44 45 45 45 2a 87 22 |BFE...D.|.DEEE*."|
|00001e90| 20 5b 6d 61 6b 65 2d 73 | 79 6d 62 6f 6c 20 22 74 | [make-s|ymbol "t|
|00001ea0| 65 6d 70 2d 66 69 6c 65 | 22 20 22 74 65 6d 70 2d |emp-file|" "temp-|
|00001eb0| 62 75 66 66 65 72 22 20 | 74 65 6d 70 2d 62 75 66 |buffer" |temp-buf|
|00001ec0| 66 65 72 20 74 65 6d 70 | 2d 66 69 6c 65 20 6c 65 |fer temp|-file le|
|00001ed0| 74 20 66 69 6c 65 20 28 | 28 67 65 74 2d 62 75 66 |t file (|(get-buf|
|00001ee0| 66 65 72 2d 63 72 65 61 | 74 65 20 28 67 65 6e 65 |fer-crea|te (gene|
|00001ef0| 72 61 74 65 2d 6e 65 77 | 2d 62 75 66 66 65 72 2d |rate-new|-buffer-|
|00001f00| 6e 61 6d 65 20 22 20 2a | 74 65 6d 70 20 66 69 6c |name " *|temp fil|
|00001f10| 65 2a 22 29 29 29 20 75 | 6e 77 69 6e 64 2d 70 72 |e*"))) u|nwind-pr|
|00001f20| 6f 74 65 63 74 20 70 72 | 6f 67 31 20 77 69 74 68 |otect pr|og1 with|
|00001f30| 2d 63 75 72 72 65 6e 74 | 2d 62 75 66 66 65 72 20 |-current|-buffer |
|00001f40| 66 6f 72 6d 73 20 28 77 | 69 64 65 6e 29 20 77 72 |forms (w|iden) wr|
|00001f50| 69 74 65 2d 72 65 67 69 | 6f 6e 20 28 70 6f 69 6e |ite-regi|on (poin|
|00001f60| 74 2d 6d 69 6e 29 20 28 | 70 6f 69 6e 74 2d 6d 61 |t-min) (|point-ma|
|00001f70| 78 29 20 28 6e 69 6c 20 | 30 29 20 61 6e 64 20 62 |x) (nil |0) and b|
|00001f80| 75 66 66 65 72 2d 6e 61 | 6d 65 20 6b 69 6c 6c 2d |uffer-na|me kill-|
|00001f90| 62 75 66 66 65 72 5d 20 | 31 33 20 28 23 24 20 2e |buffer] |13 (#$ .|
|00001fa0| 20 37 35 34 38 29 5d 29 | 29 0a 23 40 31 32 32 20 | 7548)])|).#@122 |
|00001fb0| 43 72 65 61 74 65 20 61 | 20 74 65 6d 70 6f 72 61 |Create a| tempora|
|00001fc0| 72 79 20 62 75 66 66 65 | 72 2c 20 61 6e 64 20 65 |ry buffe|r, and e|
|00001fd0| 76 61 6c 75 61 74 65 20 | 46 4f 52 4d 53 20 74 68 |valuate |FORMS th|
|00001fe0| 65 72 65 20 6c 69 6b 65 | 20 60 70 72 6f 67 6e 27 |ere like| `progn'|
|00001ff0| 2e 0a 53 65 65 20 61 6c | 73 6f 20 60 77 69 74 68 |..See al|so `with|
|00002000| 2d 74 65 6d 70 2d 66 69 | 6c 65 27 20 61 6e 64 20 |-temp-fi|le' and |
|00002010| 60 77 69 74 68 2d 6f 75 | 74 70 75 74 2d 74 6f 2d |`with-ou|tput-to-|
|00002020| 73 74 72 69 6e 67 27 2e | 1f 0a 28 64 65 66 61 6c |string'.|..(defal|
|00002030| 69 61 73 20 27 77 69 74 | 68 2d 74 65 6d 70 2d 62 |ias 'wit|h-temp-b|
|00002040| 75 66 66 65 72 20 27 28 | 6d 61 63 72 6f 20 2e 20 |uffer '(|macro . |
|00002050| 23 5b 28 26 72 65 73 74 | 20 66 6f 72 6d 73 29 20 |#[(&rest| forms) |
|00002060| 22 c0 c1 21 1a c3 5c 6e | c4 42 43 c5 c6 5c 6e 0e |"..!..\n|.BC..\n.|
|00002070| 07 42 42 c8 c9 5c 6e 44 | ca 5c 6e 44 45 45 45 29 |.BB..\nD|.\nDEEE)|
|00002080| 87 22 20 5b 6d 61 6b 65 | 2d 73 79 6d 62 6f 6c 20 |." [make|-symbol |
|00002090| 22 74 65 6d 70 2d 62 75 | 66 66 65 72 22 20 74 65 |"temp-bu|ffer" te|
|000020a0| 6d 70 2d 62 75 66 66 65 | 72 20 6c 65 74 20 28 28 |mp-buffe|r let ((|
|000020b0| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|000020c0| 65 20 28 67 65 6e 65 72 | 61 74 65 2d 6e 65 77 2d |e (gener|ate-new-|
|000020d0| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 22 20 2a 74 |buffer-n|ame " *t|
|000020e0| 65 6d 70 2a 22 29 29 29 | 20 75 6e 77 69 6e 64 2d |emp*")))| unwind-|
|000020f0| 70 72 6f 74 65 63 74 20 | 77 69 74 68 2d 63 75 72 |protect |with-cur|
|00002100| 72 65 6e 74 2d 62 75 66 | 66 65 72 20 66 6f 72 6d |rent-buf|fer form|
|00002110| 73 20 61 6e 64 20 62 75 | 66 66 65 72 2d 6e 61 6d |s and bu|ffer-nam|
|00002120| 65 20 6b 69 6c 6c 2d 62 | 75 66 66 65 72 5d 20 38 |e kill-b|uffer] 8|
|00002130| 20 28 23 24 20 2e 20 38 | 31 31 32 29 5d 29 29 0a | (#$ . 8|112)])).|
|00002140| 23 40 31 37 35 20 57 69 | 74 68 20 74 68 65 20 63 |#@175 Wi|th the c|
|00002150| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 63 |ontents |of the c|
|00002160| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 20 62 65 |urrent b|uffer be|
|00002170| 69 6e 67 20 53 54 52 2c | 20 72 75 6e 20 42 4f 44 |ing STR,| run BOD|
|00002180| 59 2e 0a 52 65 74 75 72 | 6e 73 20 74 68 65 20 6e |Y..Retur|ns the n|
|00002190| 65 77 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 74 |ew conte|nts of t|
|000021a0| 68 65 20 62 75 66 66 65 | 72 2c 20 61 73 20 6d 6f |he buffe|r, as mo|
|000021b0| 64 69 66 69 65 64 20 62 | 79 20 42 4f 44 59 2e 0a |dified b|y BODY..|
|000021c0| 54 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 63 75 72 |The orig|inal cur|
|000021d0| 72 65 6e 74 20 62 75 66 | 66 65 72 20 69 73 20 72 |rent buf|fer is r|
|000021e0| 65 73 74 6f 72 65 64 20 | 61 66 74 65 72 77 61 72 |estored |afterwar|
|000021f0| 64 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ds...(de|falias '|
|00002200| 77 69 74 68 2d 73 74 72 | 69 6e 67 2d 61 73 2d 62 |with-str|ing-as-b|
|00002210| 75 66 66 65 72 2d 63 6f | 6e 74 65 6e 74 73 20 27 |uffer-co|ntents '|
|00002220| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 73 74 72 20 |(macro .| #[(str |
|00002230| 26 72 65 73 74 20 62 6f | 64 79 29 20 22 c0 c1 c2 |&rest bo|dy) "...|
|00002240| c3 c4 c5 c6 c7 c8 0e 09 | 44 ca 0e 0b cc 5c 22 42 |........|D....\"B|
|00002250| 42 42 42 cd 42 42 45 45 | 87 22 20 5b 6c 65 74 20 |BBB.BBEE|." [let |
|00002260| 28 28 74 65 6d 70 62 75 | 66 20 28 67 65 74 2d 62 |((tempbu|f (get-b|
|00002270| 75 66 66 65 72 2d 63 72 | 65 61 74 65 20 22 20 2a |uffer-cr|eate " *|
|00002280| 73 74 72 69 6e 67 2d 61 | 73 2d 62 75 66 66 65 72 |string-a|s-buffer|
|00002290| 2d 63 6f 6e 74 65 6e 74 | 73 2a 22 29 29 29 20 77 |-content|s*"))) w|
|000022a0| 69 74 68 2d 63 75 72 72 | 65 6e 74 2d 62 75 66 66 |ith-curr|ent-buff|
|000022b0| 65 72 20 74 65 6d 70 62 | 75 66 20 75 6e 77 69 6e |er tempb|uf unwin|
|000022c0| 64 2d 70 72 6f 74 65 63 | 74 20 70 72 6f 67 6e 20 |d-protec|t progn |
|000022d0| 28 62 75 66 66 65 72 2d | 64 69 73 61 62 6c 65 2d |(buffer-|disable-|
|000022e0| 75 6e 64 6f 20 28 63 75 | 72 72 65 6e 74 2d 62 75 |undo (cu|rrent-bu|
|000022f0| 66 66 65 72 29 29 20 28 | 65 72 61 73 65 2d 62 75 |ffer)) (|erase-bu|
|00002300| 66 66 65 72 29 20 69 6e | 73 65 72 74 20 73 74 72 |ffer) in|sert str|
|00002310| 20 61 70 70 65 6e 64 20 | 62 6f 64 79 20 28 28 62 | append |body ((b|
|00002320| 75 66 66 65 72 2d 73 74 | 72 69 6e 67 29 29 20 28 |uffer-st|ring)) (|
|00002330| 28 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 74 65 |(erase-b|uffer te|
|00002340| 6d 70 62 75 66 29 29 5d | 20 31 32 20 28 23 24 20 |mpbuf))]| 12 (#$ |
|00002350| 2e 20 38 35 31 38 29 5d | 29 29 0a 23 40 36 39 20 |. 8518)]|)).#@69 |
|00002360| 49 6e 73 65 72 74 20 53 | 54 52 49 4e 47 20 61 6e |Insert S|TRING an|
|00002370| 64 20 68 69 67 68 6c 69 | 67 68 74 20 77 69 74 68 |d highli|ght with|
|00002380| 20 46 41 43 45 2e 20 20 | 52 65 74 75 72 6e 73 20 | FACE. |Returns |
|00002390| 74 68 65 20 65 78 74 65 | 6e 74 20 63 72 65 61 74 |the exte|nt creat|
|000023a0| 65 64 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ed...(de|falias '|
|000023b0| 69 6e 73 65 72 74 2d 66 | 61 63 65 20 23 5b 28 73 |insert-f|ace #[(s|
|000023c0| 74 72 69 6e 67 20 66 61 | 63 65 29 20 22 60 c0 19 |tring fa|ce) "`..|
|000023d0| 1a 0b 63 88 c4 5c 6e 60 | 5c 22 11 c5 09 0e 06 5c |..c..\n`|\".....\|
|000023e0| 22 88 09 2a 87 22 20 5b | 6e 69 6c 20 65 78 74 20 |"..*." [|nil ext |
|000023f0| 70 20 73 74 72 69 6e 67 | 20 6d 61 6b 65 2d 65 78 |p string| make-ex|
|00002400| 74 65 6e 74 20 73 65 74 | 2d 65 78 74 65 6e 74 2d |tent set|-extent-|
|00002410| 66 61 63 65 20 66 61 63 | 65 5d 20 33 20 28 23 24 |face fac|e] 3 (#$|
|00002420| 20 2e 20 39 30 35 36 29 | 5d 29 0a 28 62 79 74 65 | . 9056)|]).(byte|
|00002430| 2d 63 6f 64 65 20 22 c0 | c1 c2 5c 22 88 c0 c3 c4 |-code ".|..\"....|
|00002440| 5c 22 88 c0 c5 c6 5c 22 | 88 c0 c7 c8 5c 22 87 22 |\"....\"|....\"."|
|00002450| 20 5b 64 65 66 69 6e 65 | 2d 66 75 6e 63 74 69 6f | [define|-functio|
|00002460| 6e 20 73 74 72 69 6e 67 | 3d 20 73 74 72 69 6e 67 |n string|= string|
|00002470| 2d 65 71 75 61 6c 20 73 | 74 72 69 6e 67 3c 20 73 |-equal s|tring< s|
|00002480| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 69 6e 74 2d |tring-le|ssp int-|
|00002490| 74 6f 2d 73 74 72 69 6e | 67 20 6e 75 6d 62 65 72 |to-strin|g number|
|000024a0| 2d 74 6f 2d 73 74 72 69 | 6e 67 20 73 74 72 69 6e |-to-stri|ng strin|
|000024b0| 67 2d 74 6f 2d 69 6e 74 | 20 73 74 72 69 6e 67 2d |g-to-int| string-|
|000024c0| 74 6f 2d 6e 75 6d 62 65 | 72 5d 20 33 29 0a 23 40 |to-numbe|r] 3).#@|
|000024d0| 32 34 30 20 43 6f 6e 76 | 65 72 74 20 70 72 6f 70 |240 Conv|ert prop|
|000024e0| 65 72 74 79 20 6c 69 73 | 74 20 50 4c 49 53 54 20 |erty lis|t PLIST |
|000024f0| 69 6e 74 6f 20 74 68 65 | 20 65 71 75 69 76 61 6c |into the| equival|
|00002500| 65 6e 74 20 61 73 73 6f | 63 69 61 74 69 6f 6e 2d |ent asso|ciation-|
|00002510| 6c 69 73 74 20 66 6f 72 | 6d 2e 0a 54 68 65 20 61 |list for|m..The a|
|00002520| 6c 69 73 74 20 69 73 20 | 72 65 74 75 72 6e 65 64 |list is |returned|
|00002530| 2e 20 20 54 68 69 73 20 | 63 6f 6e 76 65 72 74 73 |. This |converts|
|00002540| 20 66 72 6f 6d 0a 0a 28 | 61 20 31 20 62 20 32 20 | from..(|a 1 b 2 |
|00002550| 63 20 33 29 0a 0a 69 6e | 74 6f 0a 0a 28 28 61 20 |c 3)..in|to..((a |
|00002560| 2e 20 31 29 20 28 62 20 | 2e 20 32 29 20 28 63 20 |. 1) (b |. 2) (c |
|00002570| 2e 20 33 29 29 0a 0a 54 | 68 65 20 6f 72 69 67 69 |. 3))..T|he origi|
|00002580| 6e 61 6c 20 70 6c 69 73 | 74 20 69 73 20 6e 6f 74 |nal plis|t is not|
|00002590| 20 6d 6f 64 69 66 69 65 | 64 2e 20 20 53 65 65 20 | modifie|d. See |
|000025a0| 61 6c 73 6f 20 60 64 65 | 73 74 72 75 63 74 69 76 |also `de|structiv|
|000025b0| 65 2d 70 6c 69 73 74 2d | 74 6f 2d 61 6c 69 73 74 |e-plist-|to-alist|
|000025c0| 27 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |'...(def|alias 'p|
|000025d0| 6c 69 73 74 2d 74 6f 2d | 61 6c 69 73 74 20 23 5b |list-to-|alist #[|
|000025e0| 28 70 6c 69 73 74 29 20 | 22 c0 19 5c 6e ab 90 5c |(plist) |"..\n..\|
|000025f0| 6e 40 5c 6e 41 40 42 09 | 42 11 5c 6e 41 41 89 12 |n@\nA@B.|B.\nAA..|
|00002600| ac 70 09 9f 29 87 22 20 | 5b 6e 69 6c 20 61 6c 69 |.p..)." |[nil ali|
|00002610| 73 74 20 70 6c 69 73 74 | 5d 20 33 20 28 23 24 20 |st plist|] 3 (#$ |
|00002620| 2e 20 39 34 32 38 29 5d | 29 0a 23 40 32 36 35 20 |. 9428)]|).#@265 |
|00002630| 43 6f 6e 76 65 72 74 20 | 70 72 6f 70 65 72 74 79 |Convert |property|
|00002640| 20 6c 69 73 74 20 50 4c | 49 53 54 20 69 6e 74 6f | list PL|IST into|
|00002650| 20 74 68 65 20 65 71 75 | 69 76 61 6c 65 6e 74 20 | the equ|ivalent |
|00002660| 61 73 73 6f 63 69 61 74 | 69 6f 6e 2d 6c 69 73 74 |associat|ion-list|
|00002670| 20 66 6f 72 6d 2e 0a 54 | 68 65 20 61 6c 69 73 74 | form..T|he alist|
|00002680| 20 69 73 20 72 65 74 75 | 72 6e 65 64 2e 20 20 54 | is retu|rned. T|
|00002690| 68 69 73 20 63 6f 6e 76 | 65 72 74 73 20 66 72 6f |his conv|erts fro|
|000026a0| 6d 0a 0a 28 61 20 31 20 | 62 20 32 20 63 20 33 29 |m..(a 1 |b 2 c 3)|
|000026b0| 0a 0a 69 6e 74 6f 0a 0a | 28 28 61 20 2e 20 31 29 |..into..|((a . 1)|
|000026c0| 20 28 62 20 2e 20 32 29 | 20 28 63 20 2e 20 33 29 | (b . 2)| (c . 3)|
|000026d0| 29 0a 0a 54 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |)..The o|riginal |
|000026e0| 70 6c 69 73 74 20 69 73 | 20 64 65 73 74 72 6f 79 |plist is| destroy|
|000026f0| 65 64 20 69 6e 20 74 68 | 65 20 70 72 6f 63 65 73 |ed in th|e proces|
|00002700| 73 20 6f 66 20 63 6f 6e | 73 74 72 75 63 74 69 6e |s of con|structin|
|00002710| 67 20 74 68 65 20 61 6c | 69 73 74 2e 0a 53 65 65 |g the al|ist..See|
|00002720| 20 61 6c 73 6f 20 60 70 | 6c 69 73 74 2d 74 6f 2d | also `p|list-to-|
|00002730| 61 6c 69 73 74 27 2e 1f | 0a 28 64 65 66 61 6c 69 |alist'..|.(defali|
|00002740| 61 73 20 27 64 65 73 74 | 72 75 63 74 69 76 65 2d |as 'dest|ructive-|
|00002750| 70 6c 69 73 74 2d 74 6f | 2d 61 6c 69 73 74 20 23 |plist-to|-alist #|
|00002760| 5b 28 70 6c 69 73 74 29 | 20 22 08 c1 1a 1b 08 ab |[(plist)| "......|
|00002770| 9f 08 41 41 12 08 41 08 | 41 40 a1 88 08 41 08 40 |..AA..A.|A@...A.@|
|00002780| a0 88 08 89 41 a0 88 08 | 5c 6e a1 88 5c 6e 89 10 |....A...|\n..\n..|
|00002790| ac 61 0b 2a 87 22 20 5b | 70 6c 69 73 74 20 6e 69 |.a.*." [|plist ni|
|000027a0| 6c 20 6e 65 78 74 20 68 | 65 61 64 5d 20 33 20 28 |l next h|ead] 3 (|
|000027b0| 23 24 20 2e 20 39 37 37 | 36 29 5d 29 0a 23 40 32 |#$ . 977|6)]).#@2|
|000027c0| 34 30 20 43 6f 6e 76 65 | 72 74 20 61 73 73 6f 63 |40 Conve|rt assoc|
|000027d0| 69 61 74 69 6f 6e 20 6c | 69 73 74 20 41 4c 49 53 |iation l|ist ALIS|
|000027e0| 54 20 69 6e 74 6f 20 74 | 68 65 20 65 71 75 69 76 |T into t|he equiv|
|000027f0| 61 6c 65 6e 74 20 70 72 | 6f 70 65 72 74 79 2d 6c |alent pr|operty-l|
|00002800| 69 73 74 20 66 6f 72 6d | 2e 0a 54 68 65 20 70 6c |ist form|..The pl|
|00002810| 69 73 74 20 69 73 20 72 | 65 74 75 72 6e 65 64 2e |ist is r|eturned.|
|00002820| 20 20 54 68 69 73 20 63 | 6f 6e 76 65 72 74 73 20 | This c|onverts |
|00002830| 66 72 6f 6d 0a 0a 28 28 | 61 20 2e 20 31 29 20 28 |from..((|a . 1) (|
|00002840| 62 20 2e 20 32 29 20 28 | 63 20 2e 20 33 29 29 0a |b . 2) (|c . 3)).|
|00002850| 0a 69 6e 74 6f 0a 0a 28 | 61 20 31 20 62 20 32 20 |.into..(|a 1 b 2 |
|00002860| 63 20 33 29 0a 0a 54 68 | 65 20 6f 72 69 67 69 6e |c 3)..Th|e origin|
|00002870| 61 6c 20 61 6c 69 73 74 | 20 69 73 20 6e 6f 74 20 |al alist| is not |
|00002880| 6d 6f 64 69 66 69 65 64 | 2e 20 20 53 65 65 20 61 |modified|. See a|
|00002890| 6c 73 6f 20 60 64 65 73 | 74 72 75 63 74 69 76 65 |lso `des|tructive|
|000028a0| 2d 61 6c 69 73 74 2d 74 | 6f 2d 70 6c 69 73 74 27 |-alist-t|o-plist'|
|000028b0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 6c |...(defa|lias 'al|
|000028c0| 69 73 74 2d 74 6f 2d 70 | 6c 69 73 74 20 23 5b 28 |ist-to-p|list #[(|
|000028d0| 61 6c 69 73 74 29 20 22 | c0 19 5c 6e ab 92 5c 6e |alist) "|..\n..\n|
|000028e0| 40 89 1b 41 0b 40 09 42 | 42 11 29 5c 6e 41 89 12 |@..A.@.B|B.)\nA..|
|000028f0| ac 6e 09 9f 29 87 22 20 | 5b 6e 69 6c 20 70 6c 69 |.n..)." |[nil pli|
|00002900| 73 74 20 61 6c 69 73 74 | 20 65 6c 5d 20 34 20 28 |st alist| el] 4 (|
|00002910| 23 24 20 2e 20 31 30 31 | 37 39 29 5d 29 0a 23 40 |#$ . 101|79)]).#@|
|00002920| 31 30 34 20 41 64 64 20 | 70 72 6f 70 65 72 74 79 |104 Add |property|
|00002930| 20 50 52 4f 50 20 74 6f | 20 70 6c 69 73 74 20 50 | PROP to| plist P|
|00002940| 4c 49 53 54 20 77 69 74 | 68 20 76 61 6c 75 65 20 |LIST wit|h value |
|00002950| 56 41 4c 2e 0a 41 6e 61 | 6c 6f 67 6f 75 73 20 74 |VAL..Ana|logous t|
|00002960| 6f 20 28 73 65 74 71 20 | 50 4c 49 53 54 20 28 70 |o (setq |PLIST (p|
|00002970| 6c 69 73 74 2d 70 75 74 | 20 50 4c 49 53 54 20 50 |list-put| PLIST P|
|00002980| 52 4f 50 20 56 41 4c 29 | 29 2e 1f 0a 28 64 65 66 |ROP VAL)|)...(def|
|00002990| 61 6c 69 61 73 20 27 70 | 75 74 66 20 27 28 6d 61 |alias 'p|utf '(ma|
|000029a0| 63 72 6f 20 2e 20 23 5b | 28 70 6c 69 73 74 20 70 |cro . #[|(plist p|
|000029b0| 72 6f 70 20 76 61 6c 29 | 20 22 c0 09 c2 09 0b 0c |rop val)| "......|
|000029c0| 46 45 87 22 20 5b 73 65 | 74 71 20 70 6c 69 73 74 |FE." [se|tq plist|
|000029d0| 20 70 6c 69 73 74 2d 70 | 75 74 20 70 72 6f 70 20 | plist-p|ut prop |
|000029e0| 76 61 6c 5d 20 36 20 28 | 23 24 20 2e 20 31 30 35 |val] 6 (|#$ . 105|
|000029f0| 33 32 29 5d 29 29 0a 23 | 40 31 32 34 20 41 64 64 |32)])).#|@124 Add|
|00002a00| 20 70 72 6f 70 65 72 74 | 79 20 50 52 4f 50 20 74 | propert|y PROP t|
|00002a10| 6f 20 6c 61 78 20 70 6c | 69 73 74 20 4c 41 58 2d |o lax pl|ist LAX-|
|00002a20| 50 4c 49 53 54 20 77 69 | 74 68 20 76 61 6c 75 65 |PLIST wi|th value|
|00002a30| 20 56 41 4c 2e 0a 41 6e | 61 6c 6f 67 6f 75 73 20 | VAL..An|alogous |
|00002a40| 74 6f 20 28 73 65 74 71 | 20 4c 41 58 2d 50 4c 49 |to (setq| LAX-PLI|
|00002a50| 53 54 20 28 6c 61 78 2d | 70 6c 69 73 74 2d 70 75 |ST (lax-|plist-pu|
|00002a60| 74 20 4c 41 58 2d 50 4c | 49 53 54 20 50 52 4f 50 |t LAX-PL|IST PROP|
|00002a70| 20 56 41 4c 29 29 2e 1f | 0a 28 64 65 66 61 6c 69 | VAL))..|.(defali|
|00002a80| 61 73 20 27 6c 61 78 70 | 75 74 66 20 27 28 6d 61 |as 'laxp|utf '(ma|
|00002a90| 63 72 6f 20 2e 20 23 5b | 28 6c 61 78 2d 70 6c 69 |cro . #[|(lax-pli|
|00002aa0| 73 74 20 70 72 6f 70 20 | 76 61 6c 29 20 22 c0 09 |st prop |val) "..|
|00002ab0| c2 09 0b 0c 46 45 87 22 | 20 5b 73 65 74 71 20 6c |....FE."| [setq l|
|00002ac0| 61 78 2d 70 6c 69 73 74 | 20 6c 61 78 2d 70 6c 69 |ax-plist| lax-pli|
|00002ad0| 73 74 2d 70 75 74 20 70 | 72 6f 70 20 76 61 6c 5d |st-put p|rop val]|
|00002ae0| 20 36 20 28 23 24 20 2e | 20 31 30 37 34 39 29 5d | 6 (#$ .| 10749)]|
|00002af0| 29 29 0a 23 40 31 31 34 | 20 52 65 6d 6f 76 65 20 |)).#@114| Remove |
|00002b00| 70 72 6f 70 65 72 74 79 | 20 50 52 4f 50 20 66 72 |property| PROP fr|
|00002b10| 6f 6d 20 6c 61 78 20 70 | 6c 69 73 74 20 4c 41 58 |om lax p|list LAX|
|00002b20| 2d 50 4c 49 53 54 2e 0a | 41 6e 61 6c 6f 67 6f 75 |-PLIST..|Analogou|
|00002b30| 73 20 74 6f 20 28 73 65 | 74 71 20 4c 41 58 2d 50 |s to (se|tq LAX-P|
|00002b40| 4c 49 53 54 20 28 6c 61 | 78 2d 70 6c 69 73 74 2d |LIST (la|x-plist-|
|00002b50| 72 65 6d 70 72 6f 70 20 | 4c 41 58 2d 50 4c 49 53 |remprop |LAX-PLIS|
|00002b60| 54 20 50 52 4f 50 29 29 | 2e 1f 0a 28 64 65 66 61 |T PROP))|...(defa|
|00002b70| 6c 69 61 73 20 27 6c 61 | 78 72 65 6d 66 20 27 28 |lias 'la|xremf '(|
|00002b80| 6d 61 63 72 6f 20 2e 20 | 23 5b 28 6c 61 78 2d 70 |macro . |#[(lax-p|
|00002b90| 6c 69 73 74 20 70 72 6f | 70 29 20 22 c0 09 c2 09 |list pro|p) "....|
|00002ba0| 0b 45 45 87 22 20 5b 73 | 65 74 71 20 6c 61 78 2d |.EE." [s|etq lax-|
|00002bb0| 70 6c 69 73 74 20 6c 61 | 78 2d 70 6c 69 73 74 2d |plist la|x-plist-|
|00002bc0| 72 65 6d 70 72 6f 70 20 | 70 72 6f 70 5d 20 35 20 |remprop |prop] 5 |
|00002bd0| 28 23 24 20 2e 20 31 31 | 30 30 31 29 5d 29 29 0a |(#$ . 11|001)])).|
|00002be0| 23 40 32 30 31 20 53 69 | 67 6e 61 6c 20 61 6e 20 |#@201 Si|gnal an |
|00002bf0| 65 72 72 6f 72 2c 20 6d | 61 6b 69 6e 67 20 65 72 |error, m|aking er|
|00002c00| 72 6f 72 20 6d 65 73 73 | 61 67 65 20 62 79 20 70 |ror mess|age by p|
|00002c10| 61 73 73 69 6e 67 20 61 | 6c 6c 20 61 72 67 73 20 |assing a|ll args |
|00002c20| 74 6f 20 60 66 6f 72 6d | 61 74 27 2e 0a 54 68 69 |to `form|at'..Thi|
|00002c30| 73 20 65 72 72 6f 72 20 | 69 73 20 6e 6f 74 20 63 |s error |is not c|
|00002c40| 6f 6e 74 69 6e 75 61 62 | 6c 65 3a 20 79 6f 75 20 |ontinuab|le: you |
|00002c50| 63 61 6e 6e 6f 74 20 63 | 6f 6e 74 69 6e 75 65 20 |cannot c|ontinue |
|00002c60| 65 78 65 63 75 74 69 6f | 6e 20 61 66 74 65 72 20 |executio|n after |
|00002c70| 74 68 65 0a 65 72 72 6f | 72 20 75 73 69 6e 67 20 |the.erro|r using |
|00002c80| 74 68 65 20 64 65 62 75 | 67 67 65 72 20 60 72 27 |the debu|gger `r'|
|00002c90| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 53 65 65 20 61 | command|. See a|
|00002ca0| 6c 73 6f 20 60 63 65 72 | 72 6f 72 27 2e 1f 0a 28 |lso `cer|ror'...(|
|00002cb0| 64 65 66 61 6c 69 61 73 | 20 27 65 72 72 6f 72 20 |defalias| 'error |
|00002cc0| 23 5b 28 26 72 65 73 74 | 20 61 72 67 73 29 20 22 |#[(&rest| args) "|
|00002cd0| c0 c1 5c 6e 5c 22 88 aa | 79 22 20 5b 61 70 70 6c |..\n\"..|y" [appl|
|00002ce0| 79 20 63 65 72 72 6f 72 | 20 61 72 67 73 5d 20 33 |y cerror| args] 3|
|00002cf0| 20 28 23 24 20 2e 20 31 | 31 32 33 38 29 5d 29 0a | (#$ . 1|1238)]).|
|00002d00| 23 40 34 37 20 4c 69 6b | 65 20 60 65 72 72 6f 72 |#@47 Lik|e `error|
|00002d10| 27 20 62 75 74 20 73 69 | 67 6e 61 6c 73 20 61 20 |' but si|gnals a |
|00002d20| 63 6f 6e 74 69 6e 75 61 | 62 6c 65 20 65 72 72 6f |continua|ble erro|
|00002d30| 72 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 |r...(def|alias 'c|
|00002d40| 65 72 72 6f 72 20 23 5b | 28 26 72 65 73 74 20 61 |error #[|(&rest a|
|00002d50| 72 67 73 29 20 22 c0 c1 | c2 c3 0c 5c 22 43 5c 22 |rgs) "..|...\"C\"|
|00002d60| 87 22 20 5b 73 69 67 6e | 61 6c 20 65 72 72 6f 72 |." [sign|al error|
|00002d70| 20 61 70 70 6c 79 20 66 | 6f 72 6d 61 74 20 61 72 | apply f|ormat ar|
|00002d80| 67 73 5d 20 35 20 28 23 | 24 20 2e 20 31 31 35 32 |gs] 5 (#|$ . 1152|
|00002d90| 35 29 5d 29 0a 23 40 31 | 38 38 20 43 68 65 63 6b |5)]).#@1|88 Check|
|00002da0| 20 74 68 61 74 20 41 52 | 47 55 4d 45 4e 54 20 73 | that AR|GUMENT s|
|00002db0| 61 74 69 73 66 69 65 73 | 20 50 52 45 44 49 43 41 |atisfies| PREDICA|
|00002dc0| 54 45 2e 0a 49 66 20 6e | 6f 74 2c 20 73 69 67 6e |TE..If n|ot, sign|
|00002dd0| 61 6c 20 61 20 63 6f 6e | 74 69 6e 75 61 62 6c 65 |al a con|tinuable|
|00002de0| 20 60 77 72 6f 6e 67 2d | 74 79 70 65 2d 61 72 67 | `wrong-|type-arg|
|00002df0| 75 6d 65 6e 74 27 20 65 | 72 72 6f 72 20 75 6e 74 |ument' e|rror unt|
|00002e00| 69 6c 20 74 68 65 0a 72 | 65 74 75 72 6e 65 64 20 |il the.r|eturned |
|00002e10| 76 61 6c 75 65 20 73 61 | 74 69 73 66 69 65 73 20 |value sa|tisfies |
|00002e20| 50 52 45 44 49 43 41 54 | 45 2c 20 61 6e 64 20 61 |PREDICAT|E, and a|
|00002e30| 73 73 69 67 6e 20 74 68 | 65 20 72 65 74 75 72 6e |ssign th|e return|
|00002e40| 65 64 20 76 61 6c 75 65 | 0a 74 6f 20 41 52 47 55 |ed value|.to ARGU|
|00002e50| 4d 45 4e 54 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |MENT...(|defalias|
|00002e60| 20 27 63 68 65 63 6b 2d | 61 72 67 75 6d 65 6e 74 | 'check-|argument|
|00002e70| 2d 74 79 70 65 20 27 28 | 6d 61 63 72 6f 20 2e 20 |-type '(|macro . |
|00002e80| 23 5b 28 70 72 65 64 69 | 63 61 74 65 20 61 72 67 |#[(predi|cate arg|
|00002e90| 75 6d 65 6e 74 29 20 22 | c0 c1 c2 0b 21 0c 44 44 |ument) "|....!.DD|
|00002ea0| c5 0c c6 0b 0c 45 45 45 | 87 22 20 5b 69 66 20 6e |.....EEE|." [if n|
|00002eb0| 6f 74 20 65 76 61 6c 20 | 70 72 65 64 69 63 61 74 |ot eval |predicat|
|00002ec0| 65 20 61 72 67 75 6d 65 | 6e 74 20 73 65 74 71 20 |e argume|nt setq |
|00002ed0| 77 72 6f 6e 67 2d 74 79 | 70 65 2d 61 72 67 75 6d |wrong-ty|pe-argum|
|00002ee0| 65 6e 74 5d 20 37 20 28 | 23 24 20 2e 20 31 31 36 |ent] 7 (|#$ . 116|
|00002ef0| 37 35 29 5d 29 29 0a 23 | 40 33 38 37 20 53 69 67 |75)])).#|@387 Sig|
|00002f00| 6e 61 6c 20 61 20 6e 6f | 6e 2d 63 6f 6e 74 69 6e |nal a no|n-contin|
|00002f10| 75 61 62 6c 65 20 65 72 | 72 6f 72 2e 20 20 41 72 |uable er|ror. Ar|
|00002f20| 67 73 20 61 72 65 20 45 | 52 52 4f 52 2d 53 59 4d |gs are E|RROR-SYM|
|00002f30| 42 4f 4c 2c 20 61 6e 64 | 20 61 73 73 6f 63 69 61 |BOL, and| associa|
|00002f40| 74 65 64 20 44 41 54 41 | 2e 0a 41 6e 20 65 72 72 |ted DATA|..An err|
|00002f50| 6f 72 20 73 79 6d 62 6f | 6c 20 69 73 20 61 20 73 |or symbo|l is a s|
|00002f60| 79 6d 62 6f 6c 20 64 65 | 66 69 6e 65 64 20 75 73 |ymbol de|fined us|
|00002f70| 69 6e 67 20 60 64 65 66 | 69 6e 65 2d 65 72 72 6f |ing `def|ine-erro|
|00002f80| 72 27 2e 0a 44 41 54 41 | 20 73 68 6f 75 6c 64 20 |r'..DATA| should |
|00002f90| 62 65 20 61 20 6c 69 73 | 74 2e 20 20 49 74 73 20 |be a lis|t. Its |
|00002fa0| 65 6c 65 6d 65 6e 74 73 | 20 61 72 65 20 70 72 69 |elements| are pri|
|00002fb0| 6e 74 65 64 20 61 73 20 | 70 61 72 74 20 6f 66 20 |nted as |part of |
|00002fc0| 74 68 65 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |the erro|r messag|
|00002fd0| 65 2e 0a 49 66 20 74 68 | 65 20 73 69 67 6e 61 6c |e..If th|e signal|
|00002fe0| 20 69 73 20 68 61 6e 64 | 6c 65 64 2c 20 44 41 54 | is hand|led, DAT|
|00002ff0| 41 20 69 73 20 6d 61 64 | 65 20 61 76 61 69 6c 61 |A is mad|e availa|
|00003000| 62 6c 65 20 74 6f 20 74 | 68 65 20 68 61 6e 64 6c |ble to t|he handl|
|00003010| 65 72 2e 0a 53 65 65 20 | 61 6c 73 6f 20 60 73 69 |er..See |also `si|
|00003020| 67 6e 61 6c 27 2c 20 61 | 6e 64 20 74 68 65 20 66 |gnal', a|nd the f|
|00003030| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 68 61 6e 64 |unctions| to hand|
|00003040| 6c 65 20 65 72 72 6f 72 | 73 3a 20 60 63 6f 6e 64 |le error|s: `cond|
|00003050| 69 74 69 6f 6e 2d 63 61 | 73 65 27 0a 61 6e 64 20 |ition-ca|se'.and |
|00003060| 60 63 61 6c 6c 2d 77 69 | 74 68 2d 63 6f 6e 64 69 |`call-wi|th-condi|
|00003070| 74 69 6f 6e 2d 68 61 6e | 64 6c 65 72 27 2e 1f 0a |tion-han|dler'...|
|00003080| 28 64 65 66 61 6c 69 61 | 73 20 27 73 69 67 6e 61 |(defalia|s 'signa|
|00003090| 6c 2d 65 72 72 6f 72 20 | 23 5b 28 65 72 72 6f 72 |l-error |#[(error|
|000030a0| 2d 73 79 6d 62 6f 6c 20 | 64 61 74 61 29 20 22 c0 |-symbol |data) ".|
|000030b0| 09 5c 6e 5c 22 88 aa 79 | 22 20 5b 73 69 67 6e 61 |.\n\"..y|" [signa|
|000030c0| 6c 20 65 72 72 6f 72 2d | 73 79 6d 62 6f 6c 20 64 |l error-|symbol d|
|000030d0| 61 74 61 5d 20 33 20 28 | 23 24 20 2e 20 31 32 30 |ata] 3 (|#$ . 120|
|000030e0| 32 39 29 5d 29 0a 23 40 | 36 30 34 20 44 65 66 69 |29)]).#@|604 Defi|
|000030f0| 6e 65 20 61 20 6e 65 77 | 20 65 72 72 6f 72 2c 20 |ne a new| error, |
|00003100| 64 65 6e 6f 74 65 64 20 | 62 79 20 45 52 52 4f 52 |denoted |by ERROR|
|00003110| 2d 53 59 4d 2e 0a 44 4f | 43 2d 53 54 52 49 4e 47 |-SYM..DO|C-STRING|
|00003120| 20 69 73 20 61 6e 20 69 | 6e 66 6f 72 6d 61 74 69 | is an i|nformati|
|00003130| 76 65 20 6d 65 73 73 61 | 67 65 20 65 78 70 6c 61 |ve messa|ge expla|
|00003140| 69 6e 69 6e 67 20 74 68 | 65 20 65 72 72 6f 72 2c |ining th|e error,|
|00003150| 20 61 6e 64 20 77 69 6c | 6c 20 62 65 0a 70 72 69 | and wil|l be.pri|
|00003160| 6e 74 65 64 20 6f 75 74 | 20 77 68 65 6e 20 61 6e |nted out| when an|
|00003170| 20 75 6e 68 61 6e 64 6c | 65 64 20 65 72 72 6f 72 | unhandl|ed error|
|00003180| 20 6f 63 63 75 72 73 2e | 0a 45 52 52 4f 52 2d 53 | occurs.|.ERROR-S|
|00003190| 59 4d 20 69 73 20 61 20 | 73 75 62 2d 65 72 72 6f |YM is a |sub-erro|
|000031a0| 72 20 6f 66 20 49 4e 48 | 45 52 49 54 53 2d 46 52 |r of INH|ERITS-FR|
|000031b0| 4f 4d 20 28 77 68 69 63 | 68 20 64 65 66 61 75 6c |OM (whic|h defaul|
|000031c0| 74 73 20 74 6f 20 60 65 | 72 72 6f 72 27 29 2e 0a |ts to `e|rror')..|
|000031d0| 0a 5b 60 64 65 66 69 6e | 65 2d 65 72 72 6f 72 27 |.[`defin|e-error'|
|000031e0| 20 69 6e 74 65 72 6e 61 | 6c 6c 79 20 77 6f 72 6b | interna|lly work|
|000031f0| 73 20 62 79 20 70 75 74 | 74 69 6e 67 20 6f 6e 20 |s by put|ting on |
|00003200| 45 52 52 4f 52 2d 53 59 | 4d 20 61 6e 20 60 65 72 |ERROR-SY|M an `er|
|00003210| 72 6f 72 2d 6d 65 73 73 | 61 67 65 27 0a 70 72 6f |ror-mess|age'.pro|
|00003220| 70 65 72 74 79 20 77 68 | 6f 73 65 20 76 61 6c 75 |perty wh|ose valu|
|00003230| 65 20 69 73 20 44 4f 43 | 2d 53 54 52 49 4e 47 2c |e is DOC|-STRING,|
|00003240| 20 61 6e 64 20 61 6e 20 | 60 65 72 72 6f 72 2d 63 | and an |`error-c|
|00003250| 6f 6e 64 69 74 69 6f 6e | 73 27 20 70 72 6f 70 65 |ondition|s' prope|
|00003260| 72 74 79 0a 74 68 61 74 | 20 69 73 20 61 20 6c 69 |rty.that| is a li|
|00003270| 73 74 20 6f 66 20 45 52 | 52 4f 52 2d 53 59 4d 20 |st of ER|ROR-SYM |
|00003280| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 65 61 63 68 |followed| by each|
|00003290| 20 6f 66 20 69 74 73 20 | 73 75 70 65 72 2d 65 72 | of its |super-er|
|000032a0| 72 6f 72 73 2c 20 75 70 | 0a 74 6f 20 61 6e 64 20 |rors, up|.to and |
|000032b0| 69 6e 63 6c 75 64 69 6e | 67 20 60 65 72 72 6f 72 |includin|g `error|
|000032c0| 27 2e 20 20 59 6f 75 20 | 77 69 6c 6c 20 73 6f 6d |'. You |will som|
|000032d0| 65 74 69 6d 65 73 20 73 | 65 65 20 63 6f 64 65 20 |etimes s|ee code |
|000032e0| 74 68 61 74 20 73 65 74 | 73 20 74 68 69 73 20 75 |that set|s this u|
|000032f0| 70 0a 64 69 72 65 63 74 | 6c 79 20 72 61 74 68 65 |p.direct|ly rathe|
|00003300| 72 20 74 68 61 6e 20 63 | 61 6c 6c 69 6e 67 20 60 |r than c|alling `|
|00003310| 64 65 66 69 6e 65 2d 65 | 72 72 6f 72 27 2c 20 62 |define-e|rror', b|
|00003320| 75 74 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 2a 6e |ut you s|hould *n|
|00003330| 6f 74 2a 20 64 6f 20 74 | 68 69 73 0a 79 6f 75 72 |ot* do t|his.your|
|00003340| 73 65 6c 66 2e 5d 1f 0a | 28 64 65 66 61 6c 69 61 |self.]..|(defalia|
|00003350| 73 20 27 64 65 66 69 6e | 65 2d 65 72 72 6f 72 20 |s 'defin|e-error |
|00003360| 23 5b 28 65 72 72 6f 72 | 2d 73 79 6d 20 64 6f 63 |#[(error|-sym doc|
|00003370| 2d 73 74 72 69 6e 67 20 | 26 6f 70 74 69 6f 6e 61 |-string |&optiona|
|00003380| 6c 20 69 6e 68 65 72 69 | 74 73 2d 66 72 6f 6d 29 |l inheri|ts-from)|
|00003390| 20 22 08 39 ac 85 c1 c2 | 08 5c 22 10 0b 3b ac 85 | ".9....|.\"..;..|
|000033a0| c1 c4 0b 5c 22 13 c5 08 | c6 0b 23 88 0e 07 ac 83 |...\"...|..#.....|
|000033b0| c8 16 07 0e 07 c9 4e 89 | 1e 5c 6e ac 87 cb c8 cc |......N.|.\n.....|
|000033c0| 08 44 5c 22 88 c5 08 c9 | 08 0e 5c 6e 42 23 29 87 |.D\"....|..\nB#).|
|000033d0| 22 20 5b 65 72 72 6f 72 | 2d 73 79 6d 20 77 72 6f |" [error|-sym wro|
|000033e0| 6e 67 2d 74 79 70 65 2d | 61 72 67 75 6d 65 6e 74 |ng-type-|argument|
|000033f0| 20 73 79 6d 62 6f 6c 70 | 20 64 6f 63 2d 73 74 72 | symbolp| doc-str|
|00003400| 69 6e 67 20 73 74 72 69 | 6e 67 70 20 70 75 74 20 |ing stri|ngp put |
|00003410| 65 72 72 6f 72 2d 6d 65 | 73 73 61 67 65 20 69 6e |error-me|ssage in|
|00003420| 68 65 72 69 74 73 2d 66 | 72 6f 6d 20 65 72 72 6f |herits-f|rom erro|
|00003430| 72 20 65 72 72 6f 72 2d | 63 6f 6e 64 69 74 69 6f |r error-|conditio|
|00003440| 6e 73 20 63 6f 6e 64 73 | 20 73 69 67 6e 61 6c 2d |ns conds| signal-|
|00003450| 65 72 72 6f 72 20 22 4e | 6f 74 20 61 6e 20 65 72 |error "N|ot an er|
|00003460| 72 6f 72 20 73 79 6d 62 | 6f 6c 22 5d 20 36 20 28 |ror symb|ol"] 6 (|
|00003470| 23 24 20 2e 20 31 32 35 | 32 34 29 5d 29 0a 23 40 |#$ . 125|24)]).#@|
|00003480| 37 32 20 52 65 74 75 72 | 6e 20 74 68 65 20 74 65 |72 Retur|n the te|
|00003490| 78 74 20 66 72 6f 6d 20 | 42 45 47 20 74 6f 20 45 |xt from |BEG to E|
|000034a0| 4e 44 2c 20 77 69 74 68 | 6f 75 74 20 74 65 78 74 |ND, with|out text|
|000034b0| 20 70 72 6f 70 65 72 74 | 69 65 73 2c 20 61 73 20 | propert|ies, as |
|000034c0| 61 20 73 74 72 69 6e 67 | 2e 1f 0a 28 64 65 66 61 |a string|...(defa|
|000034d0| 6c 69 61 73 20 27 62 75 | 66 66 65 72 2d 73 75 62 |lias 'bu|ffer-sub|
|000034e0| 73 74 72 69 6e 67 2d 6e | 6f 2d 70 72 6f 70 65 72 |string-n|o-proper|
|000034f0| 74 69 65 73 20 23 5b 28 | 62 65 67 20 65 6e 64 29 |ties #[(|beg end)|
|00003500| 20 22 08 09 7b 1a c3 c4 | 5c 6e 47 c5 5c 6e 24 88 | "..{...|\nG.\n$.|
|00003510| 5c 6e 29 87 22 20 5b 62 | 65 67 20 65 6e 64 20 73 |\n)." [b|eg end s|
|00003520| 74 72 69 6e 67 20 73 65 | 74 2d 74 65 78 74 2d 70 |tring se|t-text-p|
|00003530| 72 6f 70 65 72 74 69 65 | 73 20 30 20 6e 69 6c 5d |ropertie|s 0 nil]|
|00003540| 20 35 20 28 23 24 20 2e | 20 31 33 34 34 33 29 5d | 5 (#$ .| 13443)]|
|00003550| 29 0a 23 40 31 31 38 20 | 52 65 74 75 72 6e 20 77 |).#@118 |Return w|
|00003560| 69 6e 64 6f 77 73 20 63 | 75 72 72 65 6e 74 6c 79 |indows c|urrently|
|00003570| 20 64 69 73 70 6c 61 79 | 69 6e 67 20 42 55 46 46 | display|ing BUFF|
|00003580| 45 52 2c 20 6f 72 20 6e | 69 6c 20 69 66 20 6e 6f |ER, or n|il if no|
|00003590| 6e 65 2e 0a 53 65 65 20 | 60 77 61 6c 6b 2d 77 69 |ne..See |`walk-wi|
|000035a0| 6e 64 6f 77 73 27 20 66 | 6f 72 20 74 68 65 20 6d |ndows' f|or the m|
|000035b0| 65 61 6e 69 6e 67 20 6f | 66 20 4d 49 4e 49 42 55 |eaning o|f MINIBU|
|000035c0| 46 20 61 6e 64 20 46 52 | 41 4d 45 2e 1f 0a 28 64 |F and FR|AME...(d|
|000035d0| 65 66 61 6c 69 61 73 20 | 27 67 65 74 2d 62 75 66 |efalias |'get-buf|
|000035e0| 66 65 72 2d 77 69 6e 64 | 6f 77 2d 6c 69 73 74 20 |fer-wind|ow-list |
|000035f0| 23 5b 28 62 75 66 66 65 | 72 20 26 6f 70 74 69 6f |#[(buffe|r &optio|
|00003600| 6e 61 6c 20 6d 69 6e 69 | 62 75 66 20 66 72 61 6d |nal mini|buf fram|
|00003610| 65 29 20 22 c0 09 21 ab | 83 09 aa 83 c2 09 21 c3 |e) "..!.|......!.|
|00003620| 1c 19 c5 c6 0e 07 0e 08 | 23 88 0c 2a 87 22 20 5b |........|#..*." [|
|00003630| 62 75 66 66 65 72 70 20 | 62 75 66 66 65 72 20 67 |bufferp |buffer g|
|00003640| 65 74 2d 62 75 66 66 65 | 72 20 6e 69 6c 20 77 69 |et-buffe|r nil wi|
|00003650| 6e 64 6f 77 73 20 77 61 | 6c 6b 2d 77 69 6e 64 6f |ndows wa|lk-windo|
|00003660| 77 73 20 23 5b 28 77 69 | 6e 64 6f 77 29 20 22 c0 |ws #[(wi|ndow) ".|
|00003670| 09 21 5c 6e 61 ad 85 09 | 0b 42 89 13 87 22 20 5b |.!\na...|.B..." [|
|00003680| 77 69 6e 64 6f 77 2d 62 | 75 66 66 65 72 20 77 69 |window-b|uffer wi|
|00003690| 6e 64 6f 77 20 62 75 66 | 66 65 72 20 77 69 6e 64 |ndow buf|fer wind|
|000036a0| 6f 77 73 5d 20 32 5d 20 | 6d 69 6e 69 62 75 66 20 |ows] 2] |minibuf |
|000036b0| 66 72 61 6d 65 5d 20 34 | 20 28 23 24 20 2e 20 31 |frame] 4| (#$ . 1|
|000036c0| 33 36 35 36 29 5d 29 0a | 23 40 39 33 20 44 6f 20 |3656)]).|#@93 Do |
|000036d0| 6e 6f 74 68 69 6e 67 20 | 61 6e 64 20 72 65 74 75 |nothing |and retu|
|000036e0| 72 6e 20 6e 69 6c 2e 0a | 54 68 69 73 20 66 75 6e |rn nil..|This fun|
|000036f0| 63 74 69 6f 6e 20 61 63 | 63 65 70 74 73 20 61 6e |ction ac|cepts an|
|00003700| 79 20 6e 75 6d 62 65 72 | 20 6f 66 20 61 72 67 75 |y number| of argu|
|00003710| 6d 65 6e 74 73 2c 20 62 | 75 74 20 69 67 6e 6f 72 |ments, b|ut ignor|
|00003720| 65 73 20 74 68 65 6d 2e | 1f 0a 28 64 65 66 61 6c |es them.|..(defal|
|00003730| 69 61 73 20 27 69 67 6e | 6f 72 65 20 23 5b 28 26 |ias 'ign|ore #[(&|
|00003740| 72 65 73 74 20 69 67 6e | 6f 72 65 29 20 22 c0 87 |rest ign|ore) "..|
|00003750| 22 20 5b 6e 69 6c 5d 20 | 31 20 28 23 24 20 2e 20 |" [nil] |1 (#$ . |
|00003760| 31 34 30 32 39 29 20 6e | 69 6c 5d 29 0a 28 62 79 |14029) n|il]).(by|
|00003770| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 c2 5c 22 88 c3 |te-code |"...\"..|
|00003780| c1 c2 5c 22 88 c0 c4 c5 | 5c 22 88 c3 c4 c5 5c 22 |..\"....|\"....\"|
|00003790| 88 c6 c7 21 ac 87 c8 16 | 09 c7 ca 4d 88 c8 87 22 |...!....|...M..."|
|000037a0| 20 5b 64 65 66 69 6e 65 | 2d 66 75 6e 63 74 69 6f | [define|-functio|
|000037b0| 6e 20 6d 61 70 63 2d 69 | 6e 74 65 72 6e 61 6c 20 |n mapc-i|nternal |
|000037c0| 6d 61 70 63 20 6d 61 6b | 65 2d 6f 62 73 6f 6c 65 |mapc mak|e-obsole|
|000037d0| 74 65 20 65 76 61 6c 2d | 69 6e 2d 62 75 66 66 65 |te eval-|in-buffe|
|000037e0| 72 20 77 69 74 68 2d 63 | 75 72 72 65 6e 74 2d 62 |r with-c|urrent-b|
|000037f0| 75 66 66 65 72 20 66 62 | 6f 75 6e 64 70 20 64 65 |uffer fb|oundp de|
|00003800| 66 69 6e 65 2d 61 62 62 | 72 65 76 2d 74 61 62 6c |fine-abb|rev-tabl|
|00003810| 65 20 6e 69 6c 20 61 62 | 62 72 65 76 2d 74 61 62 |e nil ab|brev-tab|
|00003820| 6c 65 2d 6e 61 6d 65 2d | 6c 69 73 74 20 23 5b 28 |le-name-|list #[(|
|00003830| 6e 61 6d 65 20 64 65 66 | 73 29 20 22 08 09 42 5c |name def|s) "..B\|
|00003840| 6e 42 89 12 87 22 20 5b | 6e 61 6d 65 20 64 65 66 |nB..." [|name def|
|00003850| 73 20 61 62 62 72 65 76 | 2d 74 61 62 6c 65 2d 6e |s abbrev|-table-n|
|00003860| 61 6d 65 2d 6c 69 73 74 | 5d 20 32 5d 5d 20 33 29 |ame-list|] 2]] 3)|
|00003870| 0a 23 40 34 38 20 4e 6f | 6e 2d 6e 69 6c 20 69 66 |.#@48 No|n-nil if|
|00003880| 20 4f 42 4a 45 43 54 20 | 63 61 6e 20 62 65 20 63 | OBJECT |can be c|
|00003890| 61 6c 6c 65 64 20 61 73 | 20 61 20 66 75 6e 63 74 |alled as| a funct|
|000038a0| 69 6f 6e 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ion...(d|efalias |
|000038b0| 27 66 75 6e 63 74 69 6f | 6e 70 20 23 5b 28 6f 62 |'functio|np #[(ob|
|000038c0| 6a 65 63 74 29 20 22 08 | 39 ab 85 c1 08 21 ae 8e |ject) ".|9....!..|
|000038d0| c2 08 21 ae 89 c3 08 21 | ae 84 08 a2 c4 61 87 22 |..!....!|.....a."|
|000038e0| 20 5b 6f 62 6a 65 63 74 | 20 66 62 6f 75 6e 64 70 | [object| fboundp|
|000038f0| 20 73 75 62 72 70 20 63 | 6f 6d 70 69 6c 65 64 2d | subrp c|ompiled-|
|00003900| 66 75 6e 63 74 69 6f 6e | 2d 70 20 6c 61 6d 62 64 |function|-p lambd|
|00003910| 61 5d 20 32 20 28 23 24 | 20 2e 20 31 34 34 35 34 |a] 2 (#$| . 14454|
|00003920| 29 5d 29 0a 23 40 32 39 | 35 20 41 72 72 61 6e 67 |)]).#@29|5 Arrang|
|00003930| 65 20 74 68 61 74 2c 20 | 69 66 20 46 49 4c 45 20 |e that, |if FILE |
|00003940| 69 73 20 65 76 65 72 20 | 6c 6f 61 64 65 64 2c 20 |is ever |loaded, |
|00003950| 46 4f 52 4d 20 77 69 6c | 6c 20 62 65 20 72 75 6e |FORM wil|l be run|
|00003960| 20 61 74 20 74 68 61 74 | 20 74 69 6d 65 2e 0a 54 | at that| time..T|
|00003970| 68 69 73 20 6d 61 6b 65 | 73 20 6f 72 20 61 64 64 |his make|s or add|
|00003980| 73 20 74 6f 20 61 6e 20 | 65 6e 74 72 79 20 6f 6e |s to an |entry on|
|00003990| 20 60 61 66 74 65 72 2d | 6c 6f 61 64 2d 61 6c 69 | `after-|load-ali|
|000039a0| 73 74 27 2e 0a 49 66 20 | 46 49 4c 45 20 69 73 20 |st'..If |FILE is |
|000039b0| 61 6c 72 65 61 64 79 20 | 6c 6f 61 64 65 64 2c 20 |already |loaded, |
|000039c0| 65 76 61 6c 75 61 74 65 | 20 46 4f 52 4d 20 72 69 |evaluate| FORM ri|
|000039d0| 67 68 74 20 6e 6f 77 2e | 0a 49 74 20 64 6f 65 73 |ght now.|.It does|
|000039e0| 20 6e 6f 74 68 69 6e 67 | 20 69 66 20 46 4f 52 4d | nothing| if FORM|
|000039f0| 20 69 73 20 61 6c 72 65 | 61 64 79 20 6f 6e 20 74 | is alre|ady on t|
|00003a00| 68 65 20 6c 69 73 74 20 | 66 6f 72 20 46 49 4c 45 |he list |for FILE|
|00003a10| 2e 0a 46 49 4c 45 20 73 | 68 6f 75 6c 64 20 62 65 |..FILE s|hould be|
|00003a20| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 6c | the nam|e of a l|
|00003a30| 69 62 72 61 72 79 2c 20 | 77 69 74 68 20 6e 6f 20 |ibrary, |with no |
|00003a40| 64 69 72 65 63 74 6f 72 | 79 20 6e 61 6d 65 2e 1f |director|y name..|
|00003a50| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 76 61 6c |.(defali|as 'eval|
|00003a60| 2d 61 66 74 65 72 2d 6c | 6f 61 64 20 23 5b 28 66 |-after-l|oad #[(f|
|00003a70| 69 6c 65 20 66 6f 72 6d | 29 20 22 c0 09 5c 6e 5c |ile form|) "..\n\|
|00003a80| 22 ac 85 09 43 5c 6e 42 | 12 c0 09 5c 6e 5c 22 1b |"...C\nB|...\n\".|
|00003a90| 0c 0b 41 b6 ac 8f 0b 0c | 43 a4 88 c0 09 0d 5c 22 |..A.....|C.....\"|
|00003aa0| ab 84 c6 0c 21 88 29 0c | 87 22 20 5b 61 73 73 6f |....!.).|." [asso|
|00003ab0| 63 20 66 69 6c 65 20 61 | 66 74 65 72 2d 6c 6f 61 |c file a|fter-loa|
|00003ac0| 64 2d 61 6c 69 73 74 20 | 65 6c 74 20 66 6f 72 6d |d-alist |elt form|
|00003ad0| 20 6c 6f 61 64 2d 68 69 | 73 74 6f 72 79 20 65 76 | load-hi|story ev|
|00003ae0| 61 6c 5d 20 33 20 28 23 | 24 20 2e 20 31 34 36 33 |al] 3 (#|$ . 1463|
|00003af0| 34 29 5d 29 0a 28 6d 61 | 6b 65 2d 63 6f 6d 70 61 |4)]).(ma|ke-compa|
|00003b00| 74 69 62 6c 65 20 27 65 | 76 61 6c 2d 61 66 74 65 |tible 'e|val-afte|
|00003b10| 72 2d 6c 6f 61 64 20 22 | 22 29 0a 23 40 31 38 34 |r-load "|").#@184|
|00003b20| 20 52 65 61 64 20 74 68 | 65 20 66 6f 6c 6c 6f 77 | Read th|e follow|
|00003b30| 69 6e 67 20 69 6e 70 75 | 74 20 73 65 78 70 2c 20 |ing inpu|t sexp, |
|00003b40| 61 6e 64 20 72 75 6e 20 | 69 74 20 77 68 65 6e 65 |and run |it whene|
|00003b50| 76 65 72 20 46 49 4c 45 | 20 69 73 20 6c 6f 61 64 |ver FILE| is load|
|00003b60| 65 64 2e 0a 54 68 69 73 | 20 6d 61 6b 65 73 20 6f |ed..This| makes o|
|00003b70| 72 20 61 64 64 73 20 74 | 6f 20 61 6e 20 65 6e 74 |r adds t|o an ent|
|00003b80| 72 79 20 6f 6e 20 60 61 | 66 74 65 72 2d 6c 6f 61 |ry on `a|fter-loa|
|00003b90| 64 2d 61 6c 69 73 74 27 | 2e 0a 46 49 4c 45 20 73 |d-alist'|..FILE s|
|00003ba0| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 20 6e 61 6d |hould be| the nam|
|00003bb0| 65 20 6f 66 20 61 20 6c | 69 62 72 61 72 79 2c 20 |e of a l|ibrary, |
|00003bc0| 77 69 74 68 20 6e 6f 20 | 64 69 72 65 63 74 6f 72 |with no |director|
|00003bd0| 79 20 6e 61 6d 65 2e 1f | 0a 28 64 65 66 61 6c 69 |y name..|.(defali|
|00003be0| 61 73 20 27 65 76 61 6c | 2d 6e 65 78 74 2d 61 66 |as 'eval|-next-af|
|00003bf0| 74 65 72 2d 6c 6f 61 64 | 20 23 5b 28 66 69 6c 65 |ter-load| #[(file|
|00003c00| 29 20 22 c0 09 c2 20 5c | 22 87 22 20 5b 65 76 61 |) "... \|"." [eva|
|00003c10| 6c 2d 61 66 74 65 72 2d | 6c 6f 61 64 20 66 69 6c |l-after-|load fil|
|00003c20| 65 20 72 65 61 64 5d 20 | 33 20 28 23 24 20 2e 20 |e read] |3 (#$ . |
|00003c30| 31 35 31 33 37 29 5d 29 | 0a 28 62 79 74 65 2d 63 |15137)])|.(byte-c|
|00003c40| 6f 64 65 20 22 c0 c1 c2 | 5c 22 88 c3 c4 21 ac 85 |ode "...|\"...!..|
|00003c50| c5 c4 c6 5c 22 88 c5 c7 | c8 5c 22 88 c5 c9 ca 5c |...\"...|.\"....\|
|00003c60| 22 88 c5 cb cc 5c 22 88 | c5 cd ce 5c 22 88 c5 cf |"....\".|...\"...|
|00003c70| d0 4b 5c 22 88 c5 d1 d2 | 4b 5c 22 88 c5 d3 d4 5c |.K\"....|K\"....\|
|00003c80| 22 88 c5 d5 d6 5c 22 88 | c5 d7 d8 5c 22 88 c5 d9 |"....\".|...\"...|
|00003c90| da 5c 22 87 22 20 5b 6d | 61 6b 65 2d 63 6f 6d 70 |.\"." [m|ake-comp|
|00003ca0| 61 74 69 62 6c 65 20 65 | 76 61 6c 2d 6e 65 78 74 |atible e|val-next|
|00003cb0| 2d 61 66 74 65 72 2d 6c | 6f 61 64 20 22 22 20 66 |-after-l|oad "" f|
|00003cc0| 62 6f 75 6e 64 70 20 6d | 6f 64 20 64 65 66 69 6e |boundp m|od defin|
|00003cd0| 65 2d 66 75 6e 63 74 69 | 6f 6e 20 25 20 6d 6f 76 |e-functi|on % mov|
|00003ce0| 65 2d 6d 61 72 6b 65 72 | 20 73 65 74 2d 6d 61 72 |e-marker| set-mar|
|00003cf0| 6b 65 72 20 62 65 65 70 | 20 64 69 6e 67 20 69 6e |ker beep| ding in|
|00003d00| 64 65 6e 74 2d 74 6f 2d | 63 6f 6c 75 6d 6e 20 69 |dent-to-|column i|
|00003d10| 6e 64 65 6e 74 2d 74 6f | 20 62 61 63 6b 77 61 72 |ndent-to| backwar|
|00003d20| 64 2d 64 65 6c 65 74 65 | 2d 63 68 61 72 20 64 65 |d-delete|-char de|
|00003d30| 6c 65 74 65 2d 62 61 63 | 6b 77 61 72 64 2d 63 68 |lete-bac|kward-ch|
|00003d40| 61 72 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |ar searc|h-forwar|
|00003d50| 64 2d 72 65 67 65 78 70 | 20 72 65 2d 73 65 61 72 |d-regexp| re-sear|
|00003d60| 63 68 2d 66 6f 72 77 61 | 72 64 20 73 65 61 72 63 |ch-forwa|rd searc|
|00003d70| 68 2d 62 61 63 6b 77 61 | 72 64 2d 72 65 67 65 78 |h-backwa|rd-regex|
|00003d80| 70 20 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b |p re-sea|rch-back|
|00003d90| 77 61 72 64 20 72 65 6d | 6f 76 65 2d 64 69 72 65 |ward rem|ove-dire|
|00003da0| 63 74 6f 72 79 20 64 65 | 6c 65 74 65 2d 64 69 72 |ctory de|lete-dir|
|00003db0| 65 63 74 6f 72 79 20 73 | 65 74 2d 6d 61 74 63 68 |ectory s|et-match|
|00003dc0| 2d 64 61 74 61 20 73 74 | 6f 72 65 2d 6d 61 74 63 |-data st|ore-matc|
|00003dd0| 68 2d 64 61 74 61 20 73 | 65 6e 64 2d 73 74 72 69 |h-data s|end-stri|
|00003de0| 6e 67 2d 74 6f 2d 74 65 | 72 6d 69 6e 61 6c 20 65 |ng-to-te|rminal e|
|00003df0| 78 74 65 72 6e 61 6c 2d | 64 65 62 75 67 67 69 6e |xternal-|debuggin|
|00003e00| 67 2d 6f 75 74 70 75 74 | 20 62 75 66 66 65 72 2d |g-output| buffer-|
|00003e10| 73 74 72 69 6e 67 20 62 | 75 66 66 65 72 2d 73 75 |string b|uffer-su|
|00003e20| 62 73 74 72 69 6e 67 5d | 20 33 29 0a |bstring]| 3). |
+--------+-------------------------+-------------------------+--------+--------+